Creates a dict keyed on unique values in a column of the root level rows with that value
The table to index on
The column in tbl to index on. Note that it's values MUST be valid PropertyKeys!
A dictionary of rows having the value 'key' at the given column
Performs a join on the root-level rows of the given tables IMPORTANT! This does not support group rows, nor does it support outer joins.
The left table of the join
The right table of the join
What type of join to perform. Valid options are Union, LeftOuter, and RightOuter
The column of the left table to join on
The column of the right table to join on
A new, joined table
A helper function to perform a DFS on the obj and any children
The object, or list of objects, to traverse
A lambda that will be called on every visted node. This must return a list of all it's children, or nothing/an empty array if the node is a leaf node
The flattened list of nodes to walk
Converts an {MqlResultTable} back into a Table
The result table to convert
The converted table. Note that this is the same objectreference as parentTable
Converts a matrix of values into a Table
The matrix of values. Note that all rows must be the same length.
The column names to use when converting into a Table.
A new Table
Converts an array of objects keyed on column names to a Table
The array of objects to convert
A new, flat Table
Constructs the row path for this row by traversing parent rows, constructing a slash-separated string of rowNames
The row to find the path of
Row path
Convert a Table to a JSON format matching that of a ResultTable from MavenWebReflector. This is relevant for interoperability with MQL and MavenScape-style JSEPs. Flatten and calculate the special rowname/rowpath,rowdepth properties
The table to convert
Converts a Table to a matrix object, wrapped in an object containing a list of column names for enhanced interoperability
The table to convert
Converts a Table into an array of objects keyed on their columns Note that this only works on root rows! Grouped rows are dropped prior to conversion.
The flat table to convert
An object array representing the table
Generated using TypeDoc
A set of helper functions for manipulating and working with Tables