DataTableDictionary.Keys

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

Copyright © 2010 - 2023 Emakin. All rights reserved.