Liking cljdoc? Tell your friends :D

onyx.plugin.pgsql

Implementation of PostgreSQL-specific utility functions. Use available? to determine if this module can be used.

Implementation of PostgreSQL-specific utility functions. Use `available?` to determine if this module
can be used.
raw docstring

available?clj

True when necessary PostgreSQL JDBC libraries are available and this module can safely be used.

True when necessary PostgreSQL JDBC libraries are available and this module can safely
be used.
sourceraw docstring

copyclj

(copy table cols conn rows)

Uses PostgreSQL CopyManager to quickly load batches of rows into our destination table. Transaction is guaranteed to be committed after function returns.

Uses PostgreSQL CopyManager to quickly load batches of rows into our destination table. Transaction
is guaranteed to be committed after function returns.
sourceraw docstring

ht-byteclj

source

nl-byteclj

source

upsertclj

(upsert table row where)

Using honeysql-postgres, construct a SQL string to do upserts with Postgres.

We expect the key(s) in the 'where' map to be primary keys or otherwise raise the conflict to perform the update.

Using honeysql-postgres, construct a SQL string to do upserts with Postgres.

We expect the key(s) in the 'where' map to be primary keys or otherwise
raise the conflict to perform the update.
sourceraw docstring

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

× close