Array manipulation
Last updated
Last updated
Flattens an array of a string or a number.
Parameters | Description | Type |
---|---|---|
Parameters | Description | Type |
---|---|---|
counts and prints a row number of any array
usage example: d[i].id:count()
prints a counter of the current row no matter the value of id
internally replaced by :cumCount
Parameters | Description | Type |
---|---|---|
separator
[optional] item separator (,
by default)
string
objSeparator
[optional] object separator
,
by default
string
attributeSeparator
[optional] attribute separator
:
by default
string
attributes
[optional] list of object's attributes to print
string
start
number to start with (default: 1)
string