Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.jdbc.internal

JDBC helper functions

External code should not call any of these functions directly, as they are subject to change without notice.

JDBC helper functions

*External code should not call any of these functions directly, as they are*
*subject to change without notice.*
raw docstring

limit-exceptionclj

(limit-exception limit)

Helper method; simply throws an exception with a message explaining that a query result limit was exceeded.

Helper method; simply throws an exception with a message explaining
that a query result limit was exceeded.
sourceraw docstring

limit-result-set!clj

(limit-result-set! limit result-set)

Given a limit and a result-set (which is usually the result of a call to clojure.java.jdbc/with-query-results), this function verifies that the result-set does not contain more than limit results and then returns the results.

If limit is zero, the original result-set is returned unmodified.

Throws an exception if the result-set contains more than limit results.

Given a `limit` and a `result-set` (which is usually the result of a call to
`clojure.java.jdbc/with-query-results`), this function verifies that the
`result-set` does not contain more than `limit` results and then returns the
results.

If `limit` is zero, the original `result-set` is returned unmodified.

Throws an exception if the `result-set` contains more than `limit` results.
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