Prunable
trait Prunable
Methods
int
pruneAll(int $chunkSize = 1000)
Prune all prunable models in the database.
int|bool|null
prune()
Prune the model in the database.
void
pruning()
Prepare the model for pruning.
Details
at line 21
int
pruneAll(int $chunkSize = 1000)
Prune all prunable models in the database.
at line 59
Builder
prunable()
Get the prunable model query.
at line 67
int|bool|null
prune()
Prune the model in the database.
at line 79
protected void
pruning()
Prepare the model for pruning.