Write

doobie.util.Write
See theWrite companion object
trait Write[A]

Attributes

Companion
object
Source
write.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
Write[A]

Members list

Value members

Abstract methods

def puts: ArraySeq[(Put[_], NullabilityKnown)]

Attributes

Source
write.scala
def unsafeSet(ps: PreparedStatement, i: Int, a: A): Unit

Attributes

Source
write.scala
def unsafeUpdate(rs: ResultSet, i: Int, a: A): Unit

Attributes

Source
write.scala
def values(a: A): Seq[Any]

Attributes

Source
write.scala

Concrete methods

def contramap[B](f: B => A): Write[B]

Attributes

Source
write.scala
def length: Int

Attributes

Source
write.scala
def product[B](fb: Write[B]): Write[(A, B)]

Attributes

Source
write.scala
def set(a: A): PreparedStatementIO[Unit]

Attributes

Source
write.scala
def toFragment(a: A, sql: String): Fragment

Given a value of type A and an appropriately parameterized SQL string we can construct a Fragment. If sql is unspecified a comma-separated list of length placeholders will be used.

Given a value of type A and an appropriately parameterized SQL string we can construct a Fragment. If sql is unspecified a comma-separated list of length placeholders will be used.

Attributes

Source
write.scala
def update(a: A): ResultSetIO[Unit]

Attributes

Source
write.scala