(refer-clojure :exclude '[distinct group-by update])
(require '[clojure.string :as s]
'[sqlingvo.core :as c :refer [db sql select from where copy as group-by having insert intersect join refresh-materialized-view update returning truncate union values drop-table except ast delete explain drop-materialized-view]]
'[sqlingvo.util :as util])
(def db (db :mysql))
Click here to make these examples interactive with ClojureScript.
sqlingvo.db
db
(db spec & [opts])
Return a database for spec
.
db-spec
multimethod
Return the Database
record for :adapter or :subprotocol in db-spec
.
scheme
(scheme db)
Return the database adapter as a keyword.