codecs

io.taig.sql.ext.skunk.codecs
object codecs

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
codecs.type

Members list

Type members

Classlikes

object record

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
record.type

Value members

Concrete methods

def arr[A](tpe: Type)(using mapping: Mapping[A, String]): Codec[Arr[A]]
def arr[A](tpe: Type)(f: A => String)(using Aux[A, A]): Codec[Arr[A]]
def enumeration[A](tpe: Type)(f: A => String)(using Aux[A, A]): Codec[A]
def enumeration[A, B](codec: Codec[A])(f: B => A)(using evidence$1: Hash[A], Aux[B, B]): Codec[B]
def mapping[A](tpe: Type)(using mapping: Mapping[A, String]): Codec[A]
def mapping[A, B](codec: Codec[A])(using mapping: Mapping[B, A]): Codec[B]

Concrete fields

val _citext: Codec[Arr[CIString]]
val _identifier: Codec[Arr[Identifier]]
val citext: Codec[CIString]
val identifier: Codec[Identifier]
val instant: Codec[Instant]

A postgres TIMESTAMPTZ does not actually store the timezone information, but instead normalizes the time to UTC, which (in some cases) is better represented by Instant

A postgres TIMESTAMPTZ does not actually store the timezone information, but instead normalizes the time to UTC, which (in some cases) is better represented by Instant

Attributes