trait Prunable

Methods

int
pruneAll(int $chunkSize = 1000)

Prune all prunable models in the database.

prunable()

Get the prunable model query.

bool|null
prune()

Prune the model in the database.

void
pruning()

Prepare the model for pruning.

Details

at line 17
int pruneAll(int $chunkSize = 1000)

Prune all prunable models in the database.

Parameters

int $chunkSize

Return Value

int

at line 52
Builder prunable()

Get the prunable model query.

Return Value

Builder

at line 60
bool|null prune()

Prune the model in the database.

Return Value

bool|null

at line 72
protected void pruning()

Prepare the model for pruning.

Return Value

void