enumeration
doobie.postgres.instances.enumeration
object enumeration extends EnumerationInstances
Attributes
- Source
- enumeration.scala
- Graph
-
- Supertypes
- Self type
-
enumeration.type
Members list
Value members
Inherited methods
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$1: 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$1: 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
In this article