Creates an instance of Filter.
Name of the field of the entity to be filtered on or a filter function
Function to be used for matching
Value to be used by the operator
EdmType of the field to filter on, needed for custom fields
Constructor type of the entity to be filtered.
EdmType of the field to filter on, needed for custom fields
Name of the field of the entity to be filtered on or a filter function
Function to be used for matching
Value to be used by the operator
Represents a filter expression to narrow the data on a request for multiple entities that match the specified criteria. A filter refers to the field of an entity and restricts the request based on an operator and a value.
Entity.FIELD_NAME.operator(value)
Example:
Product.NAME.equals('cloud-sdk')
creates a filter for the entityProduct
that matches in case the fieldNAME
equals 'cloud-sdk'.See also: Filterable