Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Overview

Marks all records in data table as deleted.

DataTable myDataTable.DeleteAll()

Remarks

Rows in table is not instantly deleted, to delete persistently you need to call Save method.

Example

Delete all rows

var table = $Database.Get({
    Parameters : {
        TargetSchema : 'HR',
        TargetTable : 'Customers'
    }
});

table.DeleteAll();

table.Save();
  • No labels