trait Update0 extends AnyRef
- Source
- update.scala
- Grouped
- Alphabetic
- By Inheritance
- Update0
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def analysis: doobie.ConnectionIO[Analysis]
Program to construct an analysis of this query's SQL statement and asserted parameter types.
- abstract def inspect[R](f: (String, doobie.PreparedStatementIO[Unit]) => doobie.ConnectionIO[R]): doobie.ConnectionIO[R]
Program to construct an inspection of the query.
Program to construct an inspection of the query. Calls
f
with the SQL representation of the query and a statement with all statement arguments set. Returns the result of theConnectionIO
program constructed. - abstract val pos: Option[Pos]
An optional
Pos
indicating the source location where thisQuery
was constructed.An optional
Pos
indicating the source location where thisQuery
was constructed. This is used only for diagnostic purposes. - abstract def run: doobie.ConnectionIO[Int]
Program to execute the update and yield a count of affected rows.
- abstract val sql: String
The SQL string.
- abstract def withGeneratedKeysWithChunkSize[K](columns: String*)(chunkSize: Int)(implicit arg0: doobie.Read[K]): Stream[doobie.ConnectionIO, K]
Construct a stream that performs the update, yielding generated keys of readable type
K
, identified by the specified columns, given achunkSize
.Construct a stream that performs the update, yielding generated keys of readable type
K
, identified by the specified columns, given achunkSize
. Note that not all drivers support generated keys, and some support only a single key column. - abstract def withUniqueGeneratedKeys[K](columns: String*)(implicit arg0: doobie.Read[K]): doobie.ConnectionIO[K]
Construct a program that performs the update, yielding a single set of generated keys of readable type
K
, identified by the specified columns.Construct a program that performs the update, yielding a single set of generated keys of readable type
K
, identified by the specified columns. Note that not all drivers support generated keys, and some support only a single key column.
Concrete 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- def withGeneratedKeys[K](columns: String*)(implicit arg0: doobie.Read[K]): Stream[doobie.ConnectionIO, K]
Construct a stream that performs the update, yielding generated keys of readable type
K
, identified by the specified columns.Construct a stream that performs the update, yielding generated keys of readable type
K
, identified by the specified columns. Note that not all drivers support generated keys, and some support only a single key column.