Array manipulation
arrayJoin( separator )
Flattens an array of a string or a number.
Parameters
Description
Type
separator
[optional] item separator (,
by default)
string
Examples
arrayMap( objSeparator, attributeSeparator, attributes )
Parameters
Description
Type
objSeparator
[optional] object separator
,
by default
string
attributeSeparator
[optional] attribute separator
:
by default
string
attributes
[optional] list of object's attributes to print
string
Examples
count( start )
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 ofid
internally replaced by
:cumCount
Parameters
Description
Type
start
number to start with (default: 1)
string
Last updated