Unique field indexer

[data/table/Unique field indexer]


Indexes the specified table by the specified column, resulting in a tree. The specified column values should be distinct, the last value will be taken otherwise.


Keywords: table, group, dict, dictionary, tree

Input ports

  • table: {string: any}[]

    Receives the table to perform the indexing on.

  • by: string

    Receives the column name the indexing should be performed against. Column values should be unique.

Output ports

  • grouped: {string: {string: any}[][number]}

    Sends the resulting tree.

Last updated