The query value. A map of keyword to non-blank string, what 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 query value. A map of keyword to non-blank string, what 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.
(->query-string m)A query as a url query string, key-sorted so the same query always renders the same way. e.g. {tasks.sort "end"} -> "tasks.sort=end"
A query as a url query string, key-sorted so the same query always renders the same way.
e.g. {tasks.sort "end"} -> "tasks.sort=end"(canonicalize-query q)q with every key a keyword and every value a non-blank string. Entries whose value is nil,
empty or whitespace are dropped, so a key carrying nothing is absent rather than present and
meaningless.
`q` with every key a keyword and every value a non-blank string. Entries whose value is nil, empty or whitespace are dropped, so a key carrying nothing is absent rather than present and meaningless.
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 |