Data interface get options (returns a single item or an array).
Item type that may or may not have an id.
An array with field names, or an object with current field name and new field name that the field is returned as. By default, all properties of the items are emitted. When fields is defined, only the properties whose name is specified in fields will be included in the returned items.
Order the items by a field name or custom sort function.
Items will be returned as a single item (if invoked with an id) or an array of items (if invoked with an array of ids).
Items can be filtered on specific properties by providing a filter function. A filter function is executed for each of the items in the DataSet, and is called with the item as parameter. The function must return a boolean. All items for which the filter function returns true will be emitted.
Generated using TypeDoc