Skip to main content
Used to remove multiple records from a table, delete requires a table name and an array of primary key values. To avoid any unnecessary database server side-effects (long locks), NetServer internally processes the array of primary keys in batches of 1000. Rules that govern soft-delete entities are still respected. This means delete doesn’t physically remove the database record, but instead updates the SoftDeletedDate column. The specified rows are deleted in an efficient way yet the time taken is proportional to the number of rows deleted.
Mass operations do not work on these protected-tables.

Example