Liking cljdoc? Tell your friends :D

barebuild.utils.query

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.
raw docstring

->query-stringcljs

(->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"
sourceraw docstring

canonicalize-querycljs

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close