PFQuery Properties |
The PFQuery type exposes the following members.
Name | Description | |
---|---|---|
Aggregations |
Gets or sets the list of aggregations.
When used without groups in a query, one PFGroupedObject is returned containing aggregations of all objects. When used with groups in a query, each returned PFGroupedObject will contain these aggregations. | |
CustomFields |
Gets or sets the list of custom fields, impacting which values are selected.
Important: the use of this list depends on the value of FieldsMode. | |
EnablePaging |
Gets or sets a value indicating whether paging is active.
If true, PageSize and PageNo are used. Default value: false. | |
FieldsMode |
Gets or sets a value specifying how a query should determine which values are selected as output.
| |
Groups |
Gets or sets the list of groups.
If used, the query will return grouped objects with aggregated values, instead of targeted objects. | |
Orders |
Gets or sets the list of sorting rules.
| |
PageNo |
Gets or sets the page number.
One-based index.
Only used if EnablePaging is set to true. | |
Pages |
Gets or sets the number of pages to return.
This setting is not persisted. Only used if EnablePaging is set to true. | |
PageSize |
Gets or sets the page size.
Only used if EnablePaging is set to true. | |
PagingIncludeNextResult |
Gets or sets a value indicating whether this query can include the first result of the next page, if any.
This allows to know easily if there is a next page. Only used if EnablePaging is set to true. | |
ResultsLimit |
Gets or sets the maximum number of elements that can be returned by this query.
Only used if EnablePaging is set to false. | |
ResultsScope |
Gets or sets the scope of the query, specifying which kind of objects is concerned by the query.
| |
ResultsSkip |
Gets or sets the number of elements to bypass. Following elements are returned.
Only used if EnablePaging is set to false. Default value: 0 (no element skipped). | |
RootNode |
Gets or sets the root node of the filters tree.
| |
UseBulkMode |
Gets or sets a value indicating whether the bulk mode must be used.
The bulk mode is generally used in situations where RLS can be very restrictive on large amount of data. The bulk mode will filter results using the query filters first, and RLS only after. This mode will also use a cache for RLS information. |