Streaming PostgreSQL COPY helpers backed directly by pgjdbc's CopyManager.
COPY runs on a real java.sql.Connection. The caller owns that connection and must keep it open for the complete COPY operation.
Streaming PostgreSQL COPY helpers backed directly by pgjdbc's CopyManager. COPY runs on a real java.sql.Connection. The caller owns that connection and must keep it open for the complete COPY operation.
(copy-in conn sql source)Run COPY SQL FROM STDIN using a Reader or InputStream and 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 using a Reader or InputStream and 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 into a Writer or OutputStream and 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 into a Writer or OutputStream and 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 |