Liking cljdoc? Tell your friends :D
Clojure only.

mpg.core


patchclj

(patch &
       [{:keys [data datetime default-map]
         :or {data true datetime true default-map :jsonb}}])

Smooths integration with postgres such as by mapping between JSON and vectors/maps. Args: [& [opts]] opts is a map of options valid keys: :data - boolean. auto-map maps and vectors? :datetime - boolean. auto-map java.time.{LocalDate, Instant, ZonedDateTime} ? :default-map - keyword. one of :json, :jsonb, :hstore. Controls the default output format for maps in unprepared statements opts if provided are merged against the default settings: {:data true :datetime true :default-map :jsonb}

Smooths integration with postgres such as by mapping between JSON and vectors/maps.
Args: [& [opts]]
  opts is a map of options valid keys:
      :data     - boolean. auto-map maps and vectors?
      :datetime - boolean. auto-map java.time.{LocalDate, Instant, ZonedDateTime} ?
      :default-map - keyword. one of :json, :jsonb, :hstore. Controls the default
                     output format for maps in unprepared statements
  opts if provided are merged against the default settings:
    {:data true :datetime true :default-map :jsonb}
sourceraw docstring

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

× close