Blocks within array
List of all the block within the array
group. If you're running an older core version, there may be groups listed here that are not available to you (yet).
array
v10.4.28
Returns the matching objects for the given key value pairs.
duplicate item array
v10.4.28
Duplicates a given item of the array.
with values array
v12.0.6
Returns an array of values
select fields array
v10.4.28
Filters all other fields from the objects in this array.
with objects array
v10.4.28
Returns an array of objects.
empty array
v10.4.28
Returns an empty array.
every (value) condition
v12.0.7
tests whether all elements in the array pass the test
flat map array
v10.4.28
Executes the provided function on every element in the array and returns as a flat array.
fill array
v13.0.1
Fills the given array with null or the given value.
some condition
v12.0.7
Tests whether at least one element in the array passes the test
some (value) condition
v12.0.7
tests whether at least one element in the array passes the test
filter removed array
v13.0.8
Filters out all removed documents.
divide by field array
v13.0.8
Returns an array with each item divided for the provided key
multiply by field array
v13.0.8
Returns an array with each item multiplied for the provided key
filter by value array
v12.0.7
Returns an array of all items not matching the given value.
filter by field value array
v10.4.28
Returns an array of all items not matching the given field and their value.
sum number
v10.4.28
Returns the total sum of the given array of numbers.
min on field number
v10.4.28
Returns the lowest number for the given field in the given array of objects.
min number
v10.4.28
Returns the lowest number in the given array of numbers.
range array
v10.4.28
Generates a new array based on the given start and end numbers.
count unique values number
v10.4.28
Returns the number of unique items for the given array of values.
match min on field array
v10.4.28
Returns all objects that have a number equal to or bigger than the given number
if array
v10.4.28
Conditional branching for arrays (if.. then.. else..).
match max on field array
v10.4.28
Returns all objects that have a number equal to or smaller than the given number
avg on field number
v10.4.28
returns the avarage number for the given field in the given array of objects.
count unique values on field number
v10.4.28
Returns the number of unique items for the given field and its values.
sort array by multiple fields array
v10.4.28
sorts the elements of an array in place and returns the reference to the same array, now sorted
index of number
v13.0.8
Get the index of the given value, -1 if not found.
add to bottom of array array
v10.4.28
Adds your given value to your given array.
flatten array
v10.6.1
Accepts a nested array and returns a flattened array.
slice array
v10.4.28
returns a shallow copy of a portion of an array into a new array object selected from start to end
splice array
v10.4.28
Removes an item from your given array.
shuffle array
v10.4.28
Shuffles the array in a random sorting.
get at index value
v10.4.28
returns the index at which a given element can be found in the array, or -1 if it is not present
join value
v12.0.0
Creates and returns a new string by concatenating all of the elements in this array, separated by void if none provided
swap array
v10.4.28
null
get last item value
v10.4.28
Get the last item from the array.
remove multiple indexes array
v13.0.8
Removes the items with the given indexes.
find object
v14.0.1
The first element in the array that satisfies the provided testing function.
match lines for document array
v14.0.2
Returns all matching lines by guid for the given document. The input should contain a _meta.guid
which will be returned and an array matches
containing { key, value }
.
objects with fields array
v10.4.28
Create multiple objects inside an array
switch array
v10.4.28
returns an array based of the given expression.
get random item value
v10.4.28
Returns a random item from a array using crypto.randomInt.
get weighted random object
v10.4.28
Returns a random weighted item from the given array
find by key - value array
v10.4.28
Returns the matching objects for the given key value pair.
find by field exists array
v10.4.28
Returns the matching objects of they include the given field.
find by field not exists array
v10.4.28
Returns the matching objects of they not include the given field.
with arrays array
v10.4.28
Returns an array with arrays
with numbers array
v12.0.6
Returns an array of numbers.
with dates array
v10.4.28
null
select field values array
v10.4.28
returns an array with values of the given field in this array of objects.
every condition
v12.0.7
Tests whether all elements in the array pass the test
get meta guids array
v10.4.28
Returns an array of values with _meta.guid's of each object in the given array.
map array
v13.0.7
Creates a new array with the results of the provided function on every element in the array.
map and parse array
v10.4.28
Takes an array with strings and parses every item.
concat array
v10.4.28
Returns a joined array of two or more arrays.
new array
v13.0.1
returns a new array.
step matching by field array
v12.0.7
Returns the matching objects for the given key-value pair in steps.
grouped step matching by field array
v12.0.7
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)]).
filter array
v10.4.28
Returns an array for each item that returns true on the executed function.
filter empty array
v10.4.28
Returns an array of all non-empty items. Empty is defined as: null
or undefined
.
length number
v10.4.28
Returns the total length of the given array.
sum on field number
v10.4.28
Returns the total sum of the given field within the array of objects.
max number
v10.4.28
Returns the highest number in the given array of numbers.
max on field number
v10.4.28
Returns the highest number for the given field in the given array of objects.
elseif array
v10.4.28
Conditional branching for arrays (if.. then.. else if.. then.. else if.. default..).
avg number
v10.4.28
Returns the avarage number in the given array of numbers.
transpose object
v10.4.28
Transposes the given array of objects to an object with (key: sum).
sort array by field array
v10.4.28
Sorts the elements of an array by a given key.
sort array by length array
v10.4.28
Sorts an array based on the length of the elements.
add to top of array array
v10.4.28
Adds your given value to your given array.
remove from bottom of array array
v13.0.7
removes the last element from an array and returns that removed element
remove from top of array array
v13.0.7
removes the first element from an array and returns that removed element
get first item value
v10.4.28
Get the first item from the array.
remove duplicates array
v10.4.28
Removes duplicate values from an array.
group by array
v10.4.28
Groups the elements of the given array by a specified field.
reverse array
v10.4.28
Reverses the order of elements in the given array.
remove at index array
v13.0.8
Removes the item with the given index.
get aggregation buckets array
v10.4.28
Returns aggregation buckets from the given array.
aggregation buckets to flat array array
v9.2.15
Converts aggregation buckets to a flat array of objects.
Back to
array
Return to the main group to view all sub-groups