@metreeca/qest - v0.9.1
    Preparing search index...

    Function decodeQuery

    • Decodes a query from a URL-safe string.

      Parses an encoded query string back into a Query object. The encoding format is auto-detected from the input string structure.

      Parameters

      • query: string

        The encoded query string

      Returns Query

      The decoded query object

      For "form" format, the decoder accepts both canonical and shorthand forms:

      • Prefix operators (canonical): >=price=100
      • Postfix operators (shorthand): price>=100
      • Double-quoted strings (canonical): name="widget"
      • Unquoted strings (shorthand): name=widget

      Tagged strings always require the canonical "value"@tag format.