Optional attributes to include in the result. If specified, then at least these set of attributes must be included in each row
in the data array in the FetchListResult. If not specified then the default attributes must be included.
Since:
6.1.0
Examples
['!lastName', '@default'] // all attributes except lastName
['!lastName', '@default', {name: 'location', attributes: ['address line 1', 'address line 2']}] // nested example
let filterDef = {op: '$or', criteria: [{op: '$eq', value: {name: 'Bob'}}, {op: '$gt', value: {level: 'Low'}}]};
let filter = FilterFactory.getFilter(filterDef); // create a standard filter using the filterFactory.
let fetchListParam = {filterCriterion: filter, size: 5};
(nullable) size :number
Optional number of rows to fetch. If fewer than that number of rows exist, the fetch will succeed but be truncated.
A value of -1 will return all rows or the maximum size supported by the DataProvider.
If the size is not specified, then the DataProvider implementation will determine how many rows to return.