Binders

object Binders

Provides factories of Binders and built-in Binders.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](index: (ResultSet, Int) => A)(label: (ResultSet, String) => A)(f: A => (PreparedStatement, Int) => Unit): Binders[A]
def of[A](f: Any => A)(g: A => (PreparedStatement, Int) => Unit): Binders[A]
def option[A](implicit b: TypeBinder[A], p: ParameterBinderFactory[A]): Binders[Option[A]]

Concrete fields

val asciiStream: Binders[InputStream]
val bigDecimal: Binders[BigDecimal]
val bigInt: Binders[BigInt]
val binaryStream: Binders[InputStream]
val blob: Binders[Blob]
val boolean: Binders[Boolean]
val byte: Binders[Byte]
val bytes: Binders[Array[Byte]]
val characterStream: Binders[Reader]
val clob: Binders[Clob]
val double: Binders[Double]
val float: Binders[Float]
val int: Binders[Int]
val javaBigDecimal: Binders[BigDecimal]
val javaBigInteger: Binders[BigInteger]
val javaBoolean: Binders[Boolean]
val javaByte: Binders[Byte]
val javaDouble: Binders[Double]
val javaFloat: Binders[Float]
val javaInteger: Binders[Integer]
val javaLong: Binders[Long]
val javaShort: Binders[Short]
val javaTimeInstant: Binders[Instant]
val javaTimeLocalDate: Binders[LocalDate]
val javaTimeLocalDateTime: Binders[LocalDateTime]
val javaTimeLocalTime: Binders[LocalTime]
val javaTimeOffsetDateTime: Binders[OffsetDateTime]
val javaTimeZonedDateTime: Binders[ZonedDateTime]
val javaUtilCalendar: Binders[Calendar]
val long: Binders[Long]
val nClob: Binders[NClob]
val nString: Binders[String]
val optionBoolean: Binders[Option[Boolean]]
val optionByte: Binders[Option[Byte]]
val optionDouble: Binders[Option[Double]]
val optionFloat: Binders[Option[Float]]
val optionInt: Binders[Option[Int]]
val optionLong: Binders[Option[Long]]
val optionShort: Binders[Option[Short]]
val ref: Binders[Ref]
val rowId: Binders[RowId]
val short: Binders[Short]
val sqlArray: Binders[Array]
val sqlDate: Binders[Date]
val sqlTime: Binders[Time]
val sqlTimestamp: Binders[Timestamp]
val sqlXml: Binders[SQLXML]
val string: Binders[String]
val url: Binders[URL]
val utilDate: Binders[Date]