Liking cljdoc? Tell your friends :D

Installation

Core functionality

The client and the connection pool, type encoding and decoding, COPY IN/OUT, SSL:

;; lein
[com.github.igrishaev/pg2-core "0.1.21"]

;; deps
com.github.igrishaev/pg2-core {:mvn/version "0.1.21"}

HoneySQL integration

Special version of query and execute that accept not a SQL string but a map that gets formatted to SQL under the hood. Also includes various helpers (get-by-id, find, insert, udpate, delete, etc).

;; lein
[com.github.igrishaev/pg2-honey "0.1.21"]

;; deps
com.github.igrishaev/pg2-honey {:mvn/version "0.1.21"}

Component integration

A package that extends the Connection and Pool objects with the Lifecycle protocol from the Component library.

;; lein
[com.github.igrishaev/pg2-component "0.1.21"]

;; deps
com.github.igrishaev/pg2-component {:mvn/version "0.1.21"}

Migrations

A package that provides migration management: migrate forward, rollback, create, list applied migrations and so on.

;; lein
[com.github.igrishaev/pg2-migration "0.1.21"]

;; deps
com.github.igrishaev/pg2-migration {:mvn/version "0.1.21"}

HugSQL support

A small wrapper on top of the well-known HugSQL library which creates Clojure functions out from SQL files.

;; lein
[com.github.igrishaev/pg2-hugsql "0.1.21"]

;; deps
com.github.igrishaev/pg2-hugsql {:mvn/version "0.1.21"}

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close