enumeration

doobie.postgres.instances.enumeration

Attributes

Source
enumeration.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def pgEnum(e: Enumeration, name: String): Meta[Value]

Construct a Meta for value members of the given Enumeration.

Construct a Meta for value members of the given Enumeration.

Attributes

Inherited from:
EnumerationInstances
Source
enumeration.scala
def pgEnumString[A](name: String, f: String => A, g: A => String)(using evidence$1: TypeName[A]): Meta[A]

Construct a Meta for values of the given type, mapped via String to the named PostgreSQL enum type.

Construct a Meta for values of the given type, mapped via String to the named PostgreSQL enum type.

Attributes

Inherited from:
EnumerationInstances
Source
enumeration.scala
def pgEnumStringOpt[A](name: String, f: String => Option[A], g: A => String)(using evidence$2: TypeName[A]): Meta[A]

Construct a Meta for values of the given type, mapped via String to the named PostgreSQL enum type with tranparent partiality.

Construct a Meta for values of the given type, mapped via String to the named PostgreSQL enum type with tranparent partiality.

Attributes

Inherited from:
EnumerationInstances
Source
enumeration.scala
def pgJavaEnum[E <: Enum[LazyRef(...)]](name: String)(using evidence$3: TypeName[E], E: ClassTag[E]): Meta[E]

Construct a Meta for value members of the given Java enum.

Construct a Meta for value members of the given Java enum.

Attributes

Inherited from:
EnumerationInstances
Source
enumeration.scala