Liking cljdoc? Tell your friends :D

fk-gen.generate


->sqlclj

(->sql {:keys [db-info table] :as db-args})

Returns a collection of sql insert Statements that full fill all the foreign key dependencies of the table table :keyword : the name of the table db-info :hashmap : a map describing the database connection information see https://github.com/clojure/java.jdbc.

Returns a collection of sql insert Statements that full fill all the foreign key dependencies of the table
`table`   :keyword : the name of the table
`db-info` :hashmap : a map describing the database connection information see https://github.com/clojure/java.jdbc.
sourceraw docstring

->sql-and-insert!clj

(->sql-and-insert! {:keys [db-info table] :as db-args})

Inserts sql insert statements that full fill all the foreign key dependencies of the table table :keyword : the name of the table db-info :hashmap : a map describing the database connection information see https://github.com/clojure/java.jdbc.

Inserts sql insert statements that full fill all the foreign key dependencies of the table
`table`   :keyword : the name of the table
`db-info` :hashmap : a map describing the database connection information see https://github.com/clojure/java.jdbc.
sourceraw docstring

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

× close