Record commands

Record delete command

Performs delete action on records.

ParameterTypeDefaultDescription
tablesstringSingle table or multiple tables comma separated
typestringdeletedAllOlderThanDurationDescribed below
durationint14Duration in days
dryRunboolfalseDisplays only SQL queries

Available execution types:

deletedAllOlderThanDuration: Delete records that are older than the passed amount of days. This calculation is based on crdate field.

deletedDeleted: Delete records that have deleted=1.