Appendix B: Operator Reference
TL;DR
This is the quick lookup for predicate operators. Prefer this list when you need exact spellings and current behavior.
You can always inspect live support with:
./build/markql --mode plain --color=disabled --query "SHOW OPERATORS;"
Current operators in this build:
=equality<>inequality<,<=,>,>=ordered comparisonIN (...)membershipLIKESQL wildcard (%,_)CONTAINS,CONTAINS ALL,CONTAINS ANYIS NULL,IS NOT NULLHAS_DIRECT_TEXT(legacy shorthand; preferDIRECT_TEXT(tag) LIKE '%...%')~regex matchAND,OR
Practical guidance
- Prefer
LIKEfor text wildcard filtering. - Prefer
EXISTS(descendant WHERE ...)for structural gating. - Keep predicates simple and composable while exploring.