Liking cljdoc? Tell your friends :D
Clojure only.

toucan2.tools.compile

Macros that can wrap a form and return the built query, compiled query, etc. without executing it.

Macros that can wrap a form and return the built query, compiled query, etc. without executing it.
raw docstring

buildcljmacro

(build & body)

Return the built query before compilation that would have been executed by body without compiling or executing it.

Return the built query before compilation that would have been executed by `body` without compiling or executing it.
sourceraw docstring

compilecljmacro

(compile & body)

Return the compiled query that would be executed by a form, rather than executing that form itself.

(compile
  (delete/delete :table :id 1))
=>
["DELETE FROM table WHERE ID = ?" 1]
Return the compiled query that would be executed by a form, rather than executing that form itself.

```clj
(compile
  (delete/delete :table :id 1))
=>
["DELETE FROM table WHERE ID = ?" 1]
```
sourceraw docstring

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

× close