...
Function to call for every data row.
Function to call for every data row.
Remarks
If callback is null, error is thrown.
...
Code Block | ||
---|---|---|
| ||
var table = $Database.Get({
Parameters : {
TargetSchema : 'HR',
TargetTable : 'Groups'
}
});
table.Each(function () {
var id = this.Id;
}); |
Remarks
If callback is null, error is thrown.
Example
Scan all rows
Code Block | ||
---|---|---|
| ||
var table = $Database.Get({
Parameters : {
TargetSchema : 'HR',
TargetTable : 'Groups'
}
});
table.Each(function (row) {
console.log(row.Id);
}); |
Examples
...
Code Block | ||
---|---|---|
| ||
var table = $Database.Get({
Parameters : {
TargetSchema : 'HR',
TargetTable : 'Groups'
}
});
table.Each(function () {
var id = this.Id;
}); |
...
Code Block | ||
---|---|---|
| ||
var table = $Database.Get({
Parameters : {
TargetSchema : 'HR',
TargetTable : 'Groups'
}
});
table.Each(function (row) {
console.log(row.Id);
}); |