Click or drag to resize

PFQuery Methods

The PFQuery type exposes the following members.

Methods
  NameDescription
Public methodAddAggregation
Adds a new aggregation.
Public methodAddFilter(PFQueryFilter)
Adds a new filter in the root node of filters tree.
Public methodAddFilter(String, Object)
Adds a new filter in the root node of filters tree.
Public methodAddFilter(String, PFQueryFilterOperator, Object)
Adds a new filter in the root node of filters tree.
Public methodAddGroup
Adds a new group.
Public methodAddOrder
Adds a new sorting rule.
Public methodChangeOrder(String)
Resets orders and adds a new order.
Public methodChangeOrder(String, PFQueryOrderType)
Resets orders and adds a new order.
Public methodCheckFieldsAvailability
Checks if the fields used in this query are available in the specified parent, given a list of available fields.
Public methodChooseFields(PFQueryFieldsMode)
Changes the way this query should determine which values are selected as output.
Public methodChooseFields(PFQueryFieldsMode, ListString)
Changes the way this query should determine which values are selected as output.
Public methodChooseFields(PFQueryFieldsMode, String)
Changes the way this query should determine which values are selected as output.
Public methodStatic memberCreateQuery
Creates a new instance of the PFQuery class.
Public methodStatic memberCreateQuery(String)
Creates a new instance of the PFQuery class from a serialized PFQuery.
Public methodStatic memberCreateQuery(PFQueryFilter)
Creates a new instance of the PFQuery class, with default filters.
Public methodStatic memberCreateQuery(PFQueryFilter, PFQueryOrder)
Creates a new instance of the PFQuery class, with a default filter and a default order.
Public methodStatic memberCreateQueryFilter(String, Object)
Creates a new instance of the PFQuery class, with a default filter.
Public methodStatic memberCreateQueryFilter(String, PFQueryFilterOperator, Object)
Creates a new instance of the PFQuery class, with a default filter.
Public methodStatic memberCreateQueryFilter(String, Object, String)
Creates a new instance of the PFQuery class, with a default filter and a default order.
Public methodStatic memberCreateQueryFilter(String, PFQueryFilterOperator, Object, String)
Creates a new instance of the PFQuery class, with a default filter and a default order.
Public methodStatic memberCreateQueryFilter(String, Object, String, Boolean)
Creates a new instance of the PFQuery class, with a default filter and a default order.
Public methodStatic memberCreateQueryFilter(String, PFQueryFilterOperator, Object, String, Boolean)
Creates a new instance of the PFQuery class, with a default filter and a default order.
Public methodStatic memberCreateQueryOrderBy(String, PFQueryFilter)
Creates a new instance of the PFQuery class, with default filters.
Public methodStatic memberCreateQueryOrderBy(String, Boolean)
Creates a new instance of the PFQuery class, with a default order.
Public methodStatic memberCreateQueryOrderBy(String, Boolean, PFQueryFilter)
Creates a new instance of the PFQuery class, with a default order and multiple default filters.
Public methodGetACopy
Copies this PFQuery using serialization.
Public methodGetAggregationsFields
Gets the names of all fields/columns used in aggregations.
Public methodGetAllFilters
Gets all filters in the filters tree, recursively.
Public methodGetGroupsFields
Gets the names of all fields/columns used in groups.
Public methodGetNextResultsCount
Returns 1 if PagingIncludeNextResult is true, 0 otherwise.
Public methodGetOrderFields
Gets the names of all fields/columns used in sorting rules.
Public methodGetSubGroupQuery(KeyValuePairString, Object)
Creates a new PFQuery object retrieving values of a particular group.

The new query will replace one level of group by a filter on the same field.

E.g. a gridview displaying groups will call this method to obtain the query to execute when one of the groups is opened.

Public methodGetSubGroupQuery(ListKeyValuePairString, Object)
Creates a new PFQuery object retrieving values of a particular group.

The new query will replace one level of group by a filter on the same field.

E.g. a gridview displaying groups will call this method to obtain the query to execute when one of the groups is opened.

Public methodStatic memberOrderBy
Starts to build a new query. Adds a new sorting rule.
Public methodStatic memberOrderByDescending
Starts to build a new query. Adds a new sorting rule.
Public methodStatic memberSelect
Starts to build a new query. Changes the way the query should determine which values are selected as output.
Public methodSerialize
Serializes this PFQuery in XML.

The returned string can be converted into a PFQuery using the static method PFQuery.CreateQuery(serializedQuery).

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWhere(String, Object)
Starts to build a new query. Adds a new filter in the root node of filters tree.
Public methodStatic memberWhere(String, PFQueryFilterOperator, Object)
Starts to build a new query. Adds a new filter in the root node of filters tree.
Public methodStatic memberWhereIsNotNull
Starts to build a new query. Adds a new filter in the root node of filters tree.
Public methodStatic memberWhereIsNull
Starts to build a new query. Adds a new filter in the root node of filters tree.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also