File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- # postgre-types
1
+ # postgres-json
2
2
3
3
A Clojure library designed to let jdbc talk the PostgresSQL json type.
4
4
5
5
## Install
6
6
7
- [ ![ Clojars Project] ( http://clojars.org/postgre-types /latest-version.svg )] ( http://clojars.org/postgre-types )
7
+ [ ![ Clojars Project] ( http://clojars.org/postgres-json /latest-version.svg )] ( http://clojars.org/postgres-json )
8
8
9
9
## Usage
10
10
11
11
``` clojure
12
12
(ns your-namespace.foo
13
- (:require [postgre-types .json :refer [add-json-type]]))
13
+ (:require [postgres-json .json :refer [add-json-type]]))
14
14
15
15
(add-json-type f-write-json f-read-json)
16
16
@@ -22,7 +22,7 @@ You can also add `jsonb` with the same interface.
22
22
23
23
``` clojure
24
24
(ns your-namespace.foo
25
- (:require [postgre-types .json :refer [add-jsonb-type]]))
25
+ (:require [postgres-json .json :refer [add-jsonb-type]]))
26
26
27
27
(add-jsonb-type f-write-json f-read-json)
28
28
Original file line number Diff line number Diff line change 1
- (defproject postgre-types " 0.0.4"
1
+ (defproject postgres-json " 0.0.4"
2
2
:description " Integration with PostgresSQL multiple types"
3
- :url " https://github.com/siscia /postgres-type "
3
+ :url " https://github.com/ecbrown /postgres-json "
4
4
:license {:name " Eclipse Public License"
5
5
:url " http://www.eclipse.org/legal/epl-v10.html" }
6
6
:dependencies [[org.clojure/clojure " 1.6.0" ]
7
7
[org.clojure/java.jdbc " 0.3.6" ]
8
8
[org.postgresql/postgresql " 9.4-1201-jdbc41" ]]
9
- :repositories [[" release" " https://clojars.org/siscia" ]]
9
+ :repositories [#_ [" release" " https://clojars.org/siscia" ]]
10
10
:profiles {:dev {:dependencies [[cheshire " 5.3.1" ]]}})
Original file line number Diff line number Diff line change 8
8
9
9
10
10
(ns ^{:author " Simone Mosciatti" }
11
- postgre-types .json
11
+ postgres-json .json
12
12
(:require [clojure.java.jdbc :as jdbc])
13
13
(:import org.postgresql.util.PGobject))
14
14
Original file line number Diff line number Diff line change 1
- (ns postgre-types .core-test
1
+ (ns postgres-json .core-test
2
2
(:require [clojure.test :refer :all ]
3
3
[clojure.java.jdbc :as j]
4
- [postgre-types .json :refer [add-json-type add-jsonb-type]]
4
+ [postgres-json .json :refer [add-json-type add-jsonb-type]]
5
5
[cheshire.core :refer [generate-string parse-string]]))
6
6
7
7
(def db-spec {:classname " org.postgresql.Driver"
You can’t perform that action at this time.
0 commit comments