Creates an instance of Filter.
Name of the field of the entity to be filtered on
Function to be used for matching
Value to be used by the operator
Constructor type of the entity to be filtered.
Name of the field of the entity to be filtered on
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