Class: Landslider::WsSearchOperator

Inherits:
Object
  • Object
show all
Defined in:
lib/landslider/entities/ws_search_operator.rb

Overview

A list of operators that can be used with WsSearchCriterion

Constant Summary collapse

CONTAINS =

returns values that contain the given search string

'Contains'
SOUNDS_LIKE =

returns values that “sound like” the given search string (smythe = smith)

'SoundsLike'
STARTS_WITH =

returns values that start with the given search string

'StartsWith'
ENDS_WITH =

returns values that end with the given search string

'EndsWith'
DOES_NOT_CONTAIN =

returns values that do not contain the given search string

'DoesNotContain'
EQUALS =

returns values that are identically equal (case-insensitive) the given search value

'Equals'
NOT_EQUALS =

returns values that are not equal (case-insensitive) the given search value

'NotEquals'
LESS_THAN =

returns values that are less than the given search value

'LessThan'
LESS_THAN_OR_EQUAL =

returns values that are less than or equal to the given search value

'LessThanOrEqual'
GREATER_THAN =

returns values that are greater than the given search value

'GreaterThan'
GREATER_THAN_OR_EQUAL =

returns values that are greater than or equal to the given search value

'GreaterThanOrEqual'
EMPTY =

returns values that are empty (null)

'Empty'
NOT_EMPTY =

returns values that are not empty (not null)

'NotEmpty'
TRUE =

returns values that are logically True

'True'
FALSE =

returns values that are logically False

'False'
IN =

returns values that are in the specified list

'In'
NOT_IN =

returns values that are not in the specified list

'NotIn'