Skip to main content
Version: 3.11

DatasetIteratorOptions

Hierarchy

  • Omit<DatasetDataOptions, offset | limit | clean | skipHidden | skipEmpty>
    • DatasetIteratorOptions

Index

Properties

optionaldesc

desc?: boolean = false

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.

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.

Page Options