(load-sql-file file)
(load-sql-file file {:keys [mode]})
Loads given SQL file and injects db function definitions into current namespace
Loads given SQL file and injects db function definitions into current namespace
(load-sql-file-vec-fns file)
Loads given SQL file and injects debug versions of db functions.
Functions get a -sqlvec
suffix and can be used to debug what sort of query
will be generated without actually running it.
You can also pass it to JDBC functions for querying if that's your thing.
Loads given SQL file and injects debug versions of db functions. Functions get a `-sqlvec` suffix and can be used to debug what sort of query will be generated without actually running it. You can also pass it to JDBC functions for querying if that's your thing.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close