final class Write[A] extends AnyRef
- Source
- write.scala
- Alphabetic
- By Inheritance
- Write
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Write(puts: List[(Put[_], NullabilityKnown)], toList: (A) => List[Any], unsafeSet: (PreparedStatement, Int, A) => Unit, unsafeUpdate: (ResultSet, Int, A) => Unit)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def contramap[B](f: (B) => A): Write[B]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val length: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def product[B](fb: Write[B]): Write[(A, B)]
- val puts: List[(Put[_], NullabilityKnown)]
- def set(n: Int, a: A): free.PreparedStatementIO[Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toFragment(a: A, sql: String = List.fill(length)("?").mkString(",")): fragment.Fragment
Given a value of type
A
and an appropriately parameterized SQL string we can construct aFragment
.Given a value of type
A
and an appropriately parameterized SQL string we can construct aFragment
. Ifsql
is unspecified a comma-separated list oflength
placeholders will be used. - val toList: (A) => List[Any]
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unsafeSet: (PreparedStatement, Int, A) => Unit
- val unsafeUpdate: (ResultSet, Int, A) => Unit
- def update(n: Int, a: A): free.ResultSetIO[Unit]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])