trait MassPrunable (View source)

Methods

int
pruneAll(int $chunkSize = 1000)

Prune all prunable models in the database.

Builder<static>
prunable()

Get the prunable model query.

Details

int pruneAll(int $chunkSize = 1000)

Prune all prunable models in the database.

Parameters

int $chunkSize

Return Value

int

Builder<static> prunable()

Get the prunable model query.

Return Value

Builder<static>