Enum FilterOperator
- Namespace
- Excalibur.EventSourcing
- Assembly
- Excalibur.EventSourcing.Abstractions.dll
Filter comparison operators for projection queries.
public enum FilterOperator
Fields
Contains = 7String contains substring (case-insensitive).
SQL equivalent:
column LIKE '%value%'Equals = 0Equality comparison (default when no suffix specified).
SQL equivalent:
column = valueGreaterThan = 2Greater than comparison.
SQL equivalent:
column > valueGreaterThanOrEqual = 3Greater than or equal comparison.
SQL equivalent:
column >= valueIn = 6Value is in a collection of values.
SQL equivalent:
column IN (value1, value2, ...)LessThan = 4Less than comparison.
SQL equivalent:
column < valueLessThanOrEqual = 5Less than or equal comparison.
SQL equivalent:
column <= valueNotEquals = 1Not equals comparison.
SQL equivalent:
column <> value
Remarks
These operators are used with dictionary-based filters to specify how property values should be compared. Operators are specified as suffixes on filter keys (e.g., "Amount:gt" for greater than).