From 45b1c6b810f0ea5f176564ca8ae0e5b773194c1b Mon Sep 17 00:00:00 2001 From: tminglei Date: Sat, 25 Jan 2014 20:01:22 +0800 Subject: [PATCH] Update README.md --- README.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 72ff3e00..0417eaa4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Install ------- To use `slick-pg` in [sbt](http://www.scala-sbt.org/ "slick-sbt") project, add the following to your project file: ```scala -libraryDependencies += "com.github.tminglei" % "slick-pg_2.10.3" % "0.2.6" +libraryDependencies += "com.github.tminglei" % "slick-pg_2.10.3" % "0.2.7" ``` Or, in [maven](http://maven.apache.org/ "maven") project, you can add `slick-pg` to your `pom.xml` like this: @@ -26,7 +26,7 @@ Or, in [maven](http://maven.apache.org/ "maven") project, you can add `slick-pg` com.github.tminglei slick-pg_2.10.3 - 0.2.6 + 0.2.7 ``` @@ -118,16 +118,16 @@ Here's the related technical details: ####Built in supported type/mappers: | scala Type | pg Type | | ----------------------------------- | --------------------- | -| List[T] | Pg ARRAY | -| sql.Date/Time/Timestamp + tminglei.slickpg.Interval | Pg Date/Time | -| jada.time.LocalDate/LocalTime/LocalDateTime/Period | Pg Date/Time | -| threeten.bp.LocalDate/LocalTime/LocalDateTime/Duration | Pg Date/Time | -| tminglei.slickpg.Range[T] | Pg Range | -| Map[String,String] | Pg HStore | -| json4s JValue | Pg JSON | -| play-json JsValue | Pg JSON | -| (TsQuery+TsVector) | Pg `text` Search | -| jts.geom.Geometry | Pg `postgis` Geometry | +| List[T] | ARRAY | +| sql Date
Time
Timestamp
slickpg Interval
Calendar | date
time
timestamp
interval
timestamptz | +| jada LocalDate
LocalTime
LocalDateTime
Period
DateTime | date
time
timestamp
interval
timestamptz | +| threeten.bp LocalDate
LocalTime
LocalDateTime
Duration
ZonedDateTime | date
time
timestamp
interval
timestamptz | +| slickpg Range[T] | range | +| Map[String,String] | hstore | +| json4s JValue | json | +| play-json JsValue | json | +| (TsQuery+TsVector) | `text` search | +| jts Geometry | `postgis` geometry | Build instructions @@ -166,8 +166,9 @@ Support details Version history --------------- -v0.2.6 (17-Jan-2014): -1) add play-json support +v0.2.6-7 (25-Jan-2014): +1) add play-json support +2) add timestamp with time zone support v0.2.5 (10-Jan-2014): 1) add basic composite type support