Liking cljdoc? Tell your friends :D

psql.copy

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.
raw docstring

copy-inclj

(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.
sourceraw docstring

copy-managerclj

(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.
sourceraw docstring

copy-outclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close