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
toFragment: doobie.Fragment
Convert this Update0 to a
Fragment
. -
abstract
def
withGeneratedKeysWithChunkSize[K](columns: String*)(chunkSize: Int)(implicit arg0: 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: 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withGeneratedKeys[K](columns: String*)(implicit arg0: 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.
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated