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