Expand description
RSQL filter and sort parser.
Syntax: field<op>value joined by ; (AND) or , (OR), grouped with ().
Operators: == != =gt= =ge= =lt= =le= =in= =out=
=like= =ilike= =contains= =starts= =ends=
=between= =null=
Sort: ?sort=-created_at,name (- prefix = descending)
Structs§
Enums§
Functions§
- parse_
rsql - Parse an RSQL expression string into a
FilterNodetree. ReturnsAppError::Validation(HTTP 422) on any parse error. - parse_
sort - Parse a
sortquery parameter into a list ofSortSpec. Format:field1,-field2,field3(-prefix = descending). Silently skips empty tokens.