Liking cljdoc? Tell your friends :D

psql.copy

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

copy-inclj

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