trait Update0 extends AnyRef
- Source
- update.scala
- Grouped
- Alphabetic
- By Inheritance
- Update0
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def analysis: free.connection.ConnectionIO[Analysis]
Program to construct an analysis of this query's SQL statement and asserted parameter types.
- abstract def inspect[R](f: (String, free.preparedstatement.PreparedStatementIO[Unit]) => free.connection.ConnectionIO[R]): free.connection.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 def outputAnalysis: free.connection.ConnectionIO[Analysis]
Program to construct an analysis of this query's SQL statement and result set column types.
- abstract val pos: Option[Pos]
An optional Pos indicating the source location where this Query was constructed.
An optional Pos indicating the source location where this Query was constructed. This is used only for diagnostic purposes.
- abstract def run: free.connection.ConnectionIO[Int]
Program to execute the update and yield a count of affected rows.
- abstract val sql: String
The SQL string.
- abstract def toFragment: fragment.Fragment
Convert this Update0 to a
Fragment
. - abstract def withGeneratedKeysWithChunkSize[K](columns: String*)(chunkSize: Int)(implicit arg0: Read[K]): Stream[free.connection.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: Read[K]): free.connection.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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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: Read[K]): Stream[free.connection.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.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)