Skip to main content

Module query_params

Module query_params 

Source
Expand description

Query parameter parsing using nom.

Parses URL query strings into structured filter, select, order, and range data. Mirrors PostgREST’s QueryParams.hs parsing logic.

Functions§

parse_query_params
Parse a query string into QueryParams.
parse_query_params_with
parse_query_params, optionally reading select the way PostgREST does when text is left over after its last item: lenient_select drops that tail (see parse_select_lenient).
parse_select
Parse the select parameter value.
parse_select_lenient
parse_select for compatibility mode.
value_is_filter
Whether a query parameter reads as a filter rather than a function argument.