On this page
MassPrunable
trait MassPrunable (View source)
Methods
int | pruneAll(int $chunkSize = 1000) Prune all prunable models in the database. |
|
Builder | prunable() Get the prunable model query. |
Details
int pruneAll(int $chunkSize = 1000)
Prune all prunable models in the database.
Builder prunable()
Get the prunable model query.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Database/Eloquent/MassPrunable.html