Skip to content

Save

Saves changes on data table.

1
myDataTable.Save():DataTable

Remarks

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

Scan all rows

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
var table = $Database.Get({
    Parameters : {
        TargetSchema : 'HR',
        TargetTable : 'Groups'
    }
});

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

table.Save();

See Also