Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Array<string> myDataTableDictionary.Keys()

Returns

...

Example

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

var list = table.ToDictionary('Name');

var keys = list.Keys();

for (var i = 0; i < keys.length; i++) {
    var group = list.Get(keys[i]);
}