Enum QueryOperator
- Namespace
- TcgDex.Querying
- Assembly
- TcgDex.CSharpSdk.dll
The comparison operators the TCGdex API accepts in a filter.
public enum QueryOperatorFields
Like = 0-
Loose substring match — the API's default when no prefix is given.
NotLike = 1-
Loose substring exclusion (
not:). Equal = 2-
Exact match (
eq:). NotEqual = 3-
Exact exclusion (
neq:). GreaterThan = 4-
Greater than (
gt:). GreaterThanOrEqual = 5-
Greater than or equal (
gte:). LessThan = 6-
Less than (
lt:). LessThanOrEqual = 7-
Less than or equal (
lte:). Null = 8-
Field is absent (
null:). NotNull = 9-
Field is present (
notnull:).
Remarks
This is the complete set, verified against the live service. There is no operator for anything else, which is why predicates that do not map onto one of these are rejected rather than approximated.