JdbcCodec

dataprism.jdbc.sql.JdbcCodec
See theJdbcCodec companion class
object JdbcCodec

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JdbcCodec.type

Members list

Type members

Classlikes

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def byClass[A <: AnyRef](name: String, sqlType: Int)(using c: ClassTag[A]): JdbcCodec[Option[A]]
def failable[A](name: String, get: (ResultSet, Int) => Either[String, Option[A]], set: (PreparedStatement, Int, Option[A]) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]
def simple[A](name: String, get: (ResultSet, Int) => Option[A], set: (PreparedStatement, Int, Option[A]) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]
def withConnection[A](name: String, get: ResourceManager ?=> (ResultSet, Int, Connection) => Either[String, Option[A]], set: ResourceManager ?=> (PreparedStatement, Int, Option[A], Connection) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]
def withWasNullCheck[A](name: String, sqlType: Int, get: (ResultSet, Int) => A, set: (PreparedStatement, Int, A) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]