Re: using sqlite3

2011-11-11 Thread loonster
On Nov 8, 12:47 pm, loonster wrote: > After searching long and hard, there really isn't any good > documentation for using sqlite3 with clojure 1.3.  Any help connecting > to an existing sqlite3 db and performing selects and updates greatly > appreciated.   Tim Thanks all. In the end, the foll

Re: using sqlite3

2011-11-09 Thread willyh
Use this project.clj instead (eliminating the reference to clojure-contrib): (defproject testsqlite "1.0.0-SNAPSHOT" :description "FIXME: write description" :disable-deps-clean false :dependencies [[org.clojure/clojure "1.3.0"] [org.clojure/java.jdbc "0.1.0"]

Re: using sqlite3

2011-11-09 Thread willyh
project.clj: --- (defproject testsqlite "1.0.0-SNAPSHOT" :description "FIXME: write description" :disable-deps-clean false :dependencies [[org.clojure/clojure "1

Re: using sqlite3

2011-11-08 Thread Tim Sally
Hi, >From the cursory glance, it seems Korma supports sqlite3. http://sqlkorma.com/docs https://github.com/ibdknox/Korma/blob/master/src/korma/db.clj#L100 Best, Tim On Tue, Nov 8, 2011 at 3:47 PM, loonster wrote: > After searching long and hard, there really isn't any good > documentation fo

Re: using sqlite3

2011-11-08 Thread Mark Rathwell
Haven't tested, but seems like this should get you started with korma: lein: [korma "0.2.1"] [sqlitejdbc "0.5.6"] korma [1]: (defdb mydb {:classname "org.sqlite.JDBC" :subprotocol "sqlite" :subname "db/mydb.sqlite3"});; Location of the db [1] htt