PostgreSQL COPY helpers that use pgjdbc's CopyManager.
COPY runs on a java.sql.Connection. The caller owns the connection and must keep it open for the COPY operation.
PostgreSQL COPY helpers that use pgjdbc's CopyManager. COPY runs on a java.sql.Connection. The caller owns the connection and must keep it open for the COPY operation.
(copy-in conn sql source)Run COPY SQL FROM STDIN with a Reader or InputStream. Return the row count.
The stream may contain text, CSV, or PostgreSQL binary COPY data. The caller owns both the stream and the open connection lifecycle.
Run COPY SQL FROM STDIN with a Reader or InputStream. Return the row count. The stream may contain text, CSV, or PostgreSQL binary COPY data. The caller owns both the stream and the open connection lifecycle.
(copy-manager conn)Return pgjdbc's CopyManager for an open PostgreSQL connection.
The caller owns the connection lifecycle; this function never closes it.
Return pgjdbc's CopyManager for an open PostgreSQL connection. The caller owns the connection lifecycle; this function never closes it.
(copy-out conn sql destination)Run COPY SQL TO STDOUT with a Writer or OutputStream. Return the row count.
Use an OutputStream for PostgreSQL binary COPY data. The caller owns both the stream and the open connection lifecycle.
Run COPY SQL TO STDOUT with a Writer or OutputStream. Return the row count. Use an OutputStream for PostgreSQL binary COPY data. The caller owns both the stream and the open connection lifecycle.
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 |