Skip to content

DataTable.Save

Overview

DataTable DataTable.Save ( )
Saves changes on data table.

Arguments

Remarks

Until Save method called all changes on data table is stored in memory. Save method flushes all changes to database.

Examples

Scan all rows

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

table.Each(function() {
  this.Name = 'MyAdmin';
});

table.Save();

See Also