DataTable.Each
Overview
Executes given callback for every row in data table.
Executes given callback for every row in data table.
Arguments
(row: DataRow) => void fn
Function to call for every data row.
Remarks
If callback is null, error is thrown.
Example
Scan all rows
var table = $Database.Get({
Parameters : {
TargetSchema : 'HR',
TargetTable : 'Groups'
}
});
table.Each(function () {
var id = this.Id;
});
Copyright © 2010 - 2023 Emakin. All rights reserved.