Skip to main content

Function: llToArray()

Call Signature

llToArray(row, keys): unknown[][]

Defined in: packages/core/src/visitors/executor.ts:36

Convert a linked list of arrays into an array of arrays, collecting values for specified keys.

Parameters

ParameterTypeDescription
rowLinkedListNode<unknown[]>Linked list containing the current values.
keysnumber[]Keys to extract into collected arrays.

Returns

unknown[][]

Array-like output containing the collected values for each requested key.

Call Signature

llToArray(row, keys, initialKeys): unknown[]

Defined in: packages/core/src/visitors/executor.ts:47

Convert a linked list of arrays into an array of arrays, collecting values for specified keys.

Parameters

ParameterTypeDescription
rowLinkedListNode<unknown[]>Linked list containing the current values.
keysnumber[]Keys to extract into collected arrays.
initialKeysnumber[]Keys contained only in the initial row. Their values are copied directly instead of being wrapped in arrays.

Returns

unknown[]

Array-like output containing the collected values for each requested key.