· 8 years ago · Aug 23, 2018, 09:22 PM
1How can I add an index to a table using ClojureQL?
2(ns foo
3 (:require [clojure.java [jdbc :as sql]]))
4
5(sql/with-connection db
6 (sql/do-commands
7 "CREATE INDEX IF NOT EXISTS my_index ON some_table (a_column)" ))