A delete statement removes data from the target table and can optionally handle the update or deletion of data in related tables automatically.
Delete statements can be filtered.
The Delete object has these properties:
|table||n/a||The table from which data is returned|
|nullForeignKeys||true||boolean - if true the tag will set nulls on any foreign keys in related tables which reference the primary key values in the deleted records when applicable (the foreign key is nullable)|
|deleteForeignKeys||true||boolean - if true the tag will delete any records in related tables which reference the primary key value in the deleted records - this is done after nulls are set, allowing related records to be saved when possible|
|include||and||and/or - indicates whether filters are cumulative (and) or mutually exclusive (or)|