v0.8.2
- add ?-contained operators support
- add plain sql support for composite
Note: nextXXXArray
/nextXXXArrayOption
s in PgArraySupport.SimpleArrayPlainImplicits
are unified to nextArray[XXX]
/nextArrayOption[XXX]
.
But, not all array of types are built-in supported, it just means that you can get them in a unified way.
For unsupported array of types, you can extend it by overriding the method of SimpleArrayPlainImplicits.extNextArray
, as I did in MyPostgresDriver:
override protected def extNextArray(tpe: u.Type, r: PositionedResult): (Boolean, Option[Seq[_]]) =
tpe match {
case tpe if tpe.typeConstructor =:= u.typeOf[LTree].typeConstructor =>
(true, r.nextStringOption().flatMap(fromString(LTree.apply)))
case _ => super.extNextArray(tpe, r)
}