UdtValueBinderOps

zio.cassandra.session.cql.Binder$.UdtValueBinderOps
final implicit class UdtValueBinderOps(udtBinder: Binder[UdtValue]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def contramapUDT[A](f: (A, UserDefinedType) => UdtValue): Binder[A]

This is necessary for UDT values as you are not allowed to safely create a UDT value, instead you use the prepared statement's variable definitions to retrieve a UserDefinedType that can be used as a constructor for a UdtValue

This is necessary for UDT values as you are not allowed to safely create a UDT value, instead you use the prepared statement's variable definitions to retrieve a UserDefinedType that can be used as a constructor for a UdtValue

Attributes

f

is a function that accepts the input value A along with a constructor that you use to build the UdtValue that gets sent to Cassandra