Liking cljdoc? Tell your friends :D

clunk.messages


build-batchclj/s

(build-batch views)

Built messages copied into one buffer, so they go out in one write.

Built messages copied into one buffer, so they go out in one write.
sourceraw docstring

build-bindclj/s

(build-bind params)

Binds params, each a string or nil for NULL, to the unnamed portal.

Binds params, each a string or nil for NULL, to the unnamed portal.
sourceraw docstring

build-close-portalclj/s

(build-close-portal)
source

build-describe-portalclj/s

(build-describe-portal)
source

build-executeclj/s

(build-execute max-rows)

Runs the unnamed portal for up to max-rows rows, or all of them for 0.

Runs the unnamed portal for up to max-rows rows, or all of them for 0.
sourceraw docstring

build-flushclj/s

(build-flush)
source

build-parseclj/s

(build-parse sql)

Parses sql into the unnamed statement, leaving the server to infer every parameter's type.

Parses sql into the unnamed statement, leaving the server to infer every
parameter's type.
sourceraw docstring

build-passwordclj/s

(build-password password)
source

build-queryclj/s

(build-query query)
source

build-sasl-initial-responseclj/s

(build-sasl-initial-response mechanism data)
source

build-sasl-responseclj/s

(build-sasl-response data)
source

build-ssl-requestclj/s

(build-ssl-request)

Asks the server, before the StartupMessage, whether it will talk TLS. It answers with one byte, S or N, which isn't a message.

Asks the server, before the StartupMessage, whether it will talk TLS. It
answers with one byte, S or N, which isn't a message.
sourceraw docstring

build-startupclj/s

(build-startup user database)

Asks for UTF8 as the client encoding, since clunk encodes and decodes all text as UTF-8. The server converts to and from the database's encoding, and rejects text that encoding can't hold.

Asks for UTF8 as the client encoding, since clunk encodes and decodes all
text as UTF-8. The server converts to and from the database's encoding, and
rejects text that encoding can't hold.
sourceraw docstring

build-syncclj/s

(build-sync)
source

handle-authenticationclj/s

(handle-authentication bs)
source

handle-backend-key-dataclj/s

(handle-backend-key-data bs)
source

handle-command-completeclj/s

(handle-command-complete bs)
source

handle-data-rowclj/s

(handle-data-row bs)

Leaves the columns undecoded: the query that asked for them knows their types, and decodes them straight from the view (see clunk.core).

Leaves the columns undecoded: the query that asked for them knows their
types, and decodes them straight from the view (see clunk.core).
sourceraw docstring

handle-errorclj/s

(handle-error bs)
(handle-error bs type)
(handle-error bs type errs fields)

Each field is a type byte and a string; S is severity, C the SQLSTATE code, and M the message. A NoticeResponse has the same fields.

Each field is a type byte and a string; S is severity, C the SQLSTATE code,
and M the message. A NoticeResponse has the same fields.
sourceraw docstring

handle-notificationclj/s

(handle-notification bs)

A NOTIFY on a channel this connection listens on: the notifying backend's pid, the channel and the payload.

A NOTIFY on a channel this connection listens on: the notifying backend's
pid, the channel and the payload.
sourceraw docstring

handle-parameter-statusclj/s

(handle-parameter-status bs)
source

handle-ready-for-queryclj/s

(handle-ready-for-query bs)
source

handle-row-descriptionclj/s

(handle-row-description bs)
source

handle-unknownclj/s

(handle-unknown bs header)
source

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