Function: parseQueryOptions()
parseQueryOptions(
options):ParsedQueryOptions
Defined in: parser/parser.ts:663
Parse the system query options of a request, given as decoded values by parameter name (e.g. req.query): $filter, $orderby, $select, $top, $skip, $expand, $count, $search and $apply. Option names are case-insensitive; other parameters are ignored.
Each option is parsed from its own value, so a value may hold any character, & included ($filter=contains(title,'A & B'), sent as %26). Values are not percent-decoded: pass them decoded exactly once, as a URL parser gives them. For a raw query string, use parseQueryString.
Parameters
options
Decoded query option values by name (e.g. req.query)
Returns
The parsed options (only those present are set)
Throws
ODataParseError on syntax errors, a repeated option (in any letter case) or a value that is not a single string