Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

DataTable DataTable myDataTable.DeleteAll()

Remarks

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

...

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

table.DeleteAll();

table.Save();

Examples

...

languagejs

...

See Also