Liking cljdoc? Tell your friends :D

pg.connection-uri

A namespace to parse a connection URI string into a map of config fields.

Links:

A namespace to parse a connection URI string into
a map of config fields.

Links:
- https://jdbc.postgresql.org/documentation/use/
raw docstring

error!cljmacro

(error! template & args)
source

parseclj

(parse connection-uri)

Parse a string URI into a map of Config options. See pg.config/->config.

Parse a string URI into a map of Config options.
See `pg.config/->config`.
sourceraw docstring

parse-boolclj

(parse-bool line)
source

parse-longclj

(parse-long line)
source

parse-query-stringclj

(parse-query-string line)

Parse a decoded query string line into a Clojure map. Arguments with dots are treated as nested maps, e.g.:

name=test&params.id=123 -> {'name' 'test', 'params' {'id' '123'}}

Parse a decoded query string line into a Clojure map.
Arguments with dots are treated as nested maps, e.g.:

name=test&params.id=123 ->
{'name' 'test', 'params' {'id' '123'}}
sourceraw docstring

parse-refclj

(parse-ref line)

Resolve a Clojure object by a fully qualified string pointing on it (like 'org.acme.util/my-handerl'). Throw an error should a string is not qualified or point to a missing object.

Resolve a Clojure object by a fully qualified string
pointing on it (like 'org.acme.util/my-handerl').
Throw an error should a string is not qualified or
point to a missing object.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close