I'm always asking myself, why there is no language-independent standard for this to translate into SQL / LIST querying or processing and why this is almost never done in a kind of lisp-ish style to have a fast, compact, simple and easy parser...
(OR
(IN id (list 1 2 3))
(LTE createDate "2025-08-27")
)
which would translate into WHERE id IN (1,2,3) OR createDate <= '2025-08-27'