clojure-sqlite-example
Simple Clojure/SQLite3 example build from the idea of these two projects.
- JDBC/Clojure code are based on ogrim/clojure-sqlite-example
- Sample data from reindexio/graphql-nodejs-newsfeed
- Some codes are also from xsc/ritual
Setup database
To load the database from the given DDL file manually try
sqlite3 db/db.sqlite3 < createdb.sql
Basic Usage
lein run
Example interaction is in core.clj
Useful Links
- http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html
- http://clojure-doc.org/articles/ecosystem/java_jdbc/using_ddl.html
- http://clojure-doc.org/articles/ecosystem/java_jdbc/using_sql.html
License
Copyright (C) 2017 Burin Choomnuan
Distributed under the Eclipse Public License, the same as Clojure.