Skip to main content

searchOperator

To enable detailed search EYWA will create SearchByOperator for each entity. This operator object is consisted of searchable fields. Scalar fields will be of matching scalar query operator. Following fields are added to searchOperator object.

Additional search operators#

  • _and [searchOperator] - AND condition
  • _or [searchOperator] - OR condition
  • _not [searchOperator] - Negation

[IMPORTANT] Additional conditions accept list of same searchOperator object. As consequence AND, OR and NOT can be combined with multiple scalar field conditions to enable query creation without restrictions

Generated operator object will have camelCased name that starts with search following entity name and ending with suffix Operator. More details in search operator example.