Liking cljdoc? Tell your friends :D

konserve-pg.core

PostgreSQL store implemented with HugSQL.

PostgreSQL store implemented with HugSQL.
raw docstring

connection-uriclj

(connection-uri uri)
source

create-table!clj

(create-table! db)
source

db-create-tableclj

sourceraw docstring

db-delete-recordclj

sourceraw docstring

db-drop-tableclj

sourceraw docstring

db-get-record-attachmentclj

sourceraw docstring

db-get-record-edn-valueclj

sourceraw docstring

db-record-existsclj

sourceraw docstring

db-upsert-record-attachmentclj

sourceraw docstring

db-upsert-record-edn-valueclj

sourceraw docstring

delete-recordclj

(delete-record db id)
source

delete-storeclj

(delete-store db)
source

drop-table!clj

(drop-table! db)
source

get-record-attachmentclj

(get-record-attachment db id)
source

get-record-edn-valueclj

(get-record-edn-value db id)
source

new-pg-storeclj

(new-pg-store db
              &
              {:keys [serializer read-handlers write-handlers]
               :or {serializer (ser/fressian-serializer)
                    read-handlers (atom {})
                    write-handlers (atom {})}})

Constructs a PostgreSQL store either with URL for db or a PostgreSQL connection object and optionally read and write handlers for custom types according to incognito and a serialization protocol according to konserve.

Constructs a PostgreSQL store either with URL for db or a PostgreSQL connection
object and optionally read and write handlers for custom types according to
incognito and a serialization protocol according to konserve.
sourceraw docstring

record-exists?clj

(record-exists? db id)
source

upsert-record-attachmentclj

(upsert-record-attachment db id attachment)
source

upsert-record-edn-valueclj

(upsert-record-edn-value db id data)
source

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

× close