Skip to main content
Version: 3.3

DatasetDataOptions

Index

Properties

optionalclean

clean?: boolean = <p>false</p>

If true then the function returns only non-empty items and skips hidden fields (i.e. fields starting with # character). Note that the clean parameter is a shortcut for skipHidden: true and skipEmpty: true options.

optionaldesc

desc?: boolean = <p>false</p>

If true then the objects are sorted by createdAt in descending order. Otherwise they are sorted in ascending order.

optionalfields

fields?: string[]

An array of field names that will be included in the result. If omitted, all fields are included in the results.

optionallimit

limit?: number = <p>250000</p>

Maximum number of array elements to return.

optionaloffset

offset?: number = <p>0</p>

Number of array elements that should be skipped at the start.

optionalskipEmpty

skipEmpty?: boolean = <p>false</p>

If true then the function doesn't return empty items. Note that in this case the returned number of items might be lower than limit parameter and pagination must be done using the limit value.

optionalskipHidden

skipHidden?: boolean = <p>false</p>

If true then the function doesn't return hidden fields (fields starting with "#" character).

optionalunwind

unwind?: string

Specifies a name of the field in the result objects that will be used to unwind the resulting objects. By default, the results are returned as they are.