template actions: array template

template_0

template_1

Array

array: aggregation buckets to flat array

Array

Flat

Transpose

array: join

array

join with

value

array: reverse

Array

Array

array: swap

array

Index Item #1

Index Item #2

Array

array: splice
The array you want to remove an item from.

Removes an item from your given array

array

start

deleteCount

Array

Removed items

array: remove from top of array

array

Array

item

array: add to bottom of array

Adds your givin value to your given array.

array

value

number

date

object

Array

array: remove from bottom of array

array

Array

item

array: slice

array

begin

end

Array

array: sort array by field

This sorts an array for you by your given value.

Array

Sort By

A-Z / 1-9

Z-A / 9-1

Array

array: sort array by multiple fields

Array

fields

sort

Array

array: elseif

if.. then.. else if.. then.. else if.. default..

default

else if

then

array

array: range

generates a new array based of the given start and end number.

start

end

step

array

array: count unique values

returns the number of unique items for the given array of values.

Array

Number

array: grouped step matching by field
the key to be used

returns all matching objects for the given key value pair in groups in steps ([A, A, A, B, B, A, C, C, C] becomes => [(A, A, A), (B, B), (A), (C, C, C)]).

array

key

grouped

array: some (value)

tests whether at least one element in the array passes the test

Array

condition

array: filter
all items the executed function returned

returns an array for each item that returns true on the executed function.

Array

Array

`true`

on.
Iterator

index

value

array: every (value)

tests whether all elements in the array pass the test

Array

condition

array: get meta guids
Array with Objects (e.g. results of a search)
Array with guids

returns an array of values with _meta.guid's of each object in the given array.

Array

Array

array: map
how many times this function should be executed in parallel.

creates a new array with the results of the provided function on every element in the array.

Array

Concurrency

Array

Iterator

index

value

array: flat map

executes the provided function on every element in the array and returns as a flat array.

Array

Flat Array

Iterator

index

value

array: with dates

date

date

array

value similarity: best match
e.g. Blueprinting is very cool
Array [ Blueprinting is awesome, blueprinting is very awesome, blueprinting is nice ]

returns an array of best matching values in this array of values.

text

matches

matches

best match

index

array: find by field exists

returns the matching objects of they include the given field.

array

results

indexes

array: find by key - value
Field in array of objects to match with.

returns the matching objects for the given key value pair.

array

field

value

results

indexes

array: switch
The expression to evaluate.
The default statement to be executed.
Returns the array matching the expression.
Returns true in case a match was found.

Returns an array based of the given expression.

expression

default

output

match

array: get aggregation buckets

Array

Array

array: get at index

array

index

object

array: group by
Array [{ group: Any *, items: Array [] }]

Array

field

Array

array: add to top of array
The array you want to put your new value on top of

Adds your givin value to your given array.

array

value

number

date

object

Array

array: nested to normal

Accepts a nested array and returns a one dimensional array

array

Array

array: transpose

transposes the given array of objects to an object with (key: sum).

array

key

sum-key

object

array: match min on field

Default:

returns all objects that have a number equal to or bigger than the given number

array

min

include equal

Default:

`true`

array

array: avg on field

returns the avarage number for the given field in the given array of objects.

Array

Number

array: count unique values on field

returns the number of unique items for the given field its values.

Array

Number

array: match max on field

Default:

returns all objects that have a number equal to or smaller than the given number

array

max

include equal

Default:

`true`

array

array: max on field

returns the highest number for the given field in the given array of objects.

Array

Number

array: min on field

returns the lowest number for the given field in the given array of objects.

Array

Number

array: sum on field
sum of field

returns the total sum of the given field within the array of objects.

Array

Number

array: filter empty
all items not empty.

returns an array of all non-empty items. Empty is defined as: `null`

or `undefined`

.

Array

Array

array: step matching by field
will stop checking after the first mismatch
the key to be used

returns the matching objects for the given key value pair in steps.

stop after mismatch

array

key

matches

indexes

has match

array: some

tests whether at least one element in the array passes the test

Array

condition

Iterator

index

value

array: every

tests whether all elements in the array pass the test

Array

condition

Iterator

index

value

array: select field values

returns an array with values of the given field in this array of objects.

Array

Array

array: select fields

filters all other fields from the objects in this array.

Array

Array

array: find by key - multiple values
Field in array of objects to match with.

returns the matching objects for the given key value pairs.

array

field

results

indexes

references: define

Store this array as reference, which can later be used by "use reference"

array