Liking cljdoc? Tell your friends :D

asphalt.internal


as-strclj

(as-str x)

Turn anything into string.

Turn anything into string.
sourceraw docstring

as-vectorclj

(as-vector x)
source

assert-symbolsclj

(assert-symbols & syms)
source

each-indexedcljmacro

(each-indexed [counter init-count each coll & more-pairs] & body)

Given a binding vector of a counter and one or more sequence locals, run the loop as long as all the sequences have elements. Example: (each-indexed [i 0 j [10 20 30] k [:foo :bar :baz :qux]] (println i j k)) Output: 0 10 :foo 1 20 :bar 2 30 :baz

Given a binding vector of a counter and one or more sequence locals, run the loop as long as all the sequences
have elements.
Example: (each-indexed [i 0
                        j [10 20 30]
                        k [:foo :bar :baz :qux]]
           (println i j k))
Output: 0 10 :foo
        1 20 :bar
        2 30 :baz
sourceraw docstring

expectedclj

(expected expectation found)
(expected pred expectation found)

Throw illegal input exception citing expectation and what was found did not match. Optionally accept a predicate fn to test found before throwing the exception.

Throw illegal input exception citing `expectation` and what was `found` did not match. Optionally accept a predicate
fn to test `found` before throwing the exception.
sourceraw docstring

expected-param-typeclj

(expected-param-type found)
(expected-param-type suffix found)
source

expected-result-typeclj

(expected-result-type found)
(expected-result-type suffix found)
source

expected-single-param-typeclj

(expected-single-param-type found)
(expected-single-param-type suffix found)
source

illegal-argclj

(illegal-arg msg & more)
source

isolation-levelsclj

source

jdbc-event-factoryclj

source

loop-indexedcljmacro

(loop-indexed [counter init-count iteratee coll & more-pairs] & body)

Given a binding vector of a counter and one or more sequence-iteratees, run the loop as long as all the sequences have elements. Example: (loop-indexed [i 0 j [10 20 30] k [:foo :bar :baz :qux]] (println i j k)) Output: 0 (10 20 30) (:foo :bar :baz) 1 (20 30) (:bar :baz) 2 (30) (:baz)

Given a binding vector of a counter and one or more sequence-iteratees, run the loop as long as all the sequences
have elements.
Example: (loop-indexed [i 0
                        j [10 20 30]
                        k [:foo :bar :baz :qux]]
           (println i j k))
Output: 0 (10 20 30) (:foo :bar :baz)
        1 (20 30) (:bar :baz)
        2 (30) (:baz)
sourceraw docstring

make-jdbc-event-listenerclj

(make-jdbc-event-listener {:keys [before on-success on-error lastly]
                           :or {before (fn [event])
                                on-success (fn [id nanos event])
                                on-error (fn [id nanos event error])
                                lastly (fn [id nanos event])}})
source

named?clj

(named? x)
source

prepare-statementclj

(prepare-statement connection sql return-generated-keys?)
source

resolve-txn-isolationclj

(resolve-txn-isolation isolation)
source

set-txn-infoclj

(set-txn-info connection options)
source

with-connectioncljmacro

(with-connection [connection connection-source] & body)

Bind connection (symbol) to a connection obtained from specified source, evaluating the body of code in that context. Return connection to source in the end.

Bind `connection` (symbol) to a connection obtained from specified source, evaluating the body of code in that
context. Return connection to source in the end.
sourceraw docstring

with-new-connectioncljmacro

(with-new-connection [connection connection-source] & body)

Bind connection (symbol) to a connection created from specified source, evaluating the body of code in that context. Return connection to source in the end.

Bind `connection` (symbol) to a connection created from specified source, evaluating the body of code in that
context. Return connection to source in the end.
sourceraw docstring

with-txn-infocljmacro

(with-txn-info connection txn-info & body)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close