(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 0.9.1-SNAPSHOT

Released under the Eclipse Public License

A Clojure DSL to create SQL statements.

Installation

To install, add the following dependency to your project or build file:

[sqlingvo "0.9.1-SNAPSHOT"]

Namespaces

sqlingvo.compiler

sqlingvo.core

sqlingvo.db

Public variables and functions:

sqlingvo.expr

sqlingvo.url

Public variables and functions:

sqlingvo.util