The query value. A map of keyword to non-blank string, the thing both the URL projection and
the request are about. canonicalize-query is its normal form, so two queries that mean the
same compare equal wherever they came from, the address bar or a server's echo.
The query value. A map of keyword to non-blank string, the thing both the URL projection and the request are about. `canonicalize-query` is its normal form, so two queries that mean the same compare equal wherever they came from, the address bar or a server's echo.
(->query-string m)Render a query as a url query string, key-sorted so the same query always renders the same way regardless of how the map was built. e.g. {tasks.sort "end"} -> "tasks.sort=end"
Render a query as a url query string, key-sorted so the same query always renders the same
way regardless of how the map was built. e.g. {tasks.sort "end"} -> "tasks.sort=end"(canonicalize-query q)Ensure all query keys are keywords and values are non-blank strings. Entries whose value is nil or blank are dropped.
Ensure all query keys are keywords and values are non-blank strings. Entries whose value is nil or blank are dropped.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |