This documentation provides an overview of the custom query language designed to parse and evaluate complex queries on structured data. The language supports a variety of conditions, logical operators, and special features that enable users to filter data effectively.
eval1.judgement
,eval2.judgement
,eval3.judgement
).==
: Equality (e.g., field == value
)!=
: Inequality (e.g., field != value
)>
: Greater than (e.g., field > value
)<
: Less than (e.g., field < value
)>=
: Greater than or equal to (e.g., field >= value
)<=
: Less than or equal to (e.g., field <= value
)in
: Checks if a field’s value is in a list (e.g., field in [value1, value2]
)~
: Substring match, applicable for strings (e.g., field ~ 'substring'
)&&
: Logical AND, connects two conditions (e.g., condition1 && condition2
)||
: Logical OR, connects two conditions (e.g., condition1 || condition2
)judgement
property of eval1
is equal to 1
.
eval1.judgement
equals 1
and eval2.judgement
equals 0
.
eval1.judgement
equals 1
or eval2.judgement
equals 0
.