Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Overview

Returns all dictionary keys as string array.

Array<string> myDataTableDictionary.Keys()

Returns

Array of key values as string.

Example

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]);
}
  • No labels