Decoder of Postgres text-format data into Scala types.
Attributes
- Companion
- object
- Source
- Decoder.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Codec[A]
- Self type
-
Decoder[A]
Members list
Value members
Concrete methods
Map decoded results to a new type B
or an error, yielding a Decoder[B]
.
Map decoded results to a new type B
or an error, yielding a Decoder[B]
.
Attributes
- Source
- Decoder.scala
An equivalent decoder that filters results, failing with a generic error message when the filter condition is not met.
An equivalent decoder that filters results, failing with a generic error message when the filter condition is not met. For a custom error message use emap
.
Attributes
- Source
- Decoder.scala
Attributes
- Source
- Decoder.scala
Map decoded results to a new type B
, yielding a Decoder[B]
.
Lift this Decoder
into Option
.
Decoder
is semigroupal: a pair of decoders make a decoder for a pair.
Decoder
is semigroupal: a pair of decoders make a decoder for a pair.
Attributes
- Source
- Decoder.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- Decoder.scala
Shorthand for product
.
Deprecated methods
Adapt this Decoder
from twiddle-list type A to isomorphic case-class type B
.
Adapt this Decoder
from twiddle-list type A to isomorphic case-class type B
.
Attributes
- Deprecated
- true
- Source
- Decoder.scala