trait Prunable (View source)
| int | pruneAll(int $chunkSize = 1000)
Prune all prunable models in the database. | |
| Builder<static> | prunable()
Get the prunable model query. | |
| bool|null | prune()
Prune the model in the database. | |
| void | pruning()
Prepare the model for pruning. |
Prune all prunable models in the database.
Get the prunable model query.
Prune the model in the database.
Prepare the model for pruning.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Database/Eloquent/Prunable.html