Table of Contents

Enum FilterOperator

Namespace
Excalibur.EventSourcing
Assembly
Excalibur.EventSourcing.Abstractions.dll

Filter comparison operators for projection queries.

public enum FilterOperator

Fields

Contains = 7

String contains substring (case-insensitive).

SQL equivalent: column LIKE '%value%'

Equals = 0

Equality comparison (default when no suffix specified).

SQL equivalent: column = value

GreaterThan = 2

Greater than comparison.

SQL equivalent: column > value

GreaterThanOrEqual = 3

Greater than or equal comparison.

SQL equivalent: column >= value

In = 6

Value is in a collection of values.

SQL equivalent: column IN (value1, value2, ...)

LessThan = 4

Less than comparison.

SQL equivalent: column < value

LessThanOrEqual = 5

Less than or equal comparison.

SQL equivalent: column <= value

NotEquals = 1

Not 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).