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.
(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.
(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] ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close