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.
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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close