Sane defaults for working with clojure.java.jdbc and postgresql. No more boilerplate.
Handles the following:
Just require the jdbc-pg-sanity.core
namespace:
(ns whatever.db
(require [clojure.java.jdbc :as j]
jdbc-pg-sanity.core))
;; do your postgres thing here
Contributions and improvements welcome, just open an issue! :)
If this library should do something, and it doesn't currently do it, please fork and open a pull request. All reasonable contributions will be accepted.
Most of this library is extracted from the boilerplate generated by Luminus, which is in turn inspired by boilerplate clojurians have been copy-pasting around since time immemorial.
Copyright © 2016 Shane Kilkelly
Distributed under the MIT license.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close