(->pg-interval duration)Takes a Duration instance and converts it into a PGInterval instance where the interval is created as a number of seconds.
Takes a Duration instance and converts it into a PGInterval instance where the interval is created as a number of seconds.
(->pgobject x)Transforms Clojure data to a PGobject that contains the data as
JSON. PGObject type defaults to jsonb but can be changed via
metadata key :pgtype
Transforms Clojure data to a PGobject that contains the data as JSON. PGObject type defaults to `jsonb` but can be changed via metadata key `:pgtype`
(<-pg-interval interval)Takes a PGInterval instance and converts it into a Duration instance. Ignore sub-second units.
Takes a PGInterval instance and converts it into a Duration instance. Ignore sub-second units.
(<-pgobject v)Transform PGobject containing json or jsonb value to Clojure
data.
Transform PGobject containing `json` or `jsonb` value to Clojure data.
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 |