DataTable.Save

Overview

Saves changes on data table.

DataTable myDataTable.Save()

Remarks

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

Example

Scan all rows

var table = $Database.Get({ Parameters : { TargetSchema : 'HR', TargetTable : 'Groups' } }); table.Each(function () { this.Name = 'MyAdmin'; }); table.Save();

Copyright © 2010 - 2023 Emakin. All rights reserved.