An update parameterized by some input type A
. This is the type
constructed by the sql
interpolator.
Attributes
- Companion:
- object
- Source:
- update.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Update[A]
Members list
Diagnostics
Program to construct an analysis of this query's SQL statement and asserted parameter types.
Program to construct an analysis of this query's SQL statement and asserted parameter types.
Attributes
- Source:
- update.scala
Program to construct an inspection of the query. Given arguments a
,
calls f
with the SQL representation of the query and a statement with
all arguments set. Returns the result of the ConnectionIO
program
constructed.
Program to construct an inspection of the query. Given arguments a
,
calls f
with the SQL representation of the query and a statement with
all arguments set. Returns the result of the ConnectionIO
program
constructed.
Attributes
- Source:
- update.scala
Program to construct an analysis of this query's SQL statement and result set column types.
Program to construct an analysis of this query's SQL statement and result set column types.
Attributes
- Source:
- update.scala
An optional Pos indicating the source location where this Update was constructed. This is used only for diagnostic purposes.
An optional Pos indicating the source location where this Update was constructed. This is used only for diagnostic purposes.
Attributes
- Source:
- update.scala
The SQL string.
Execution
Construct a program to execute the update and yield a count of affected
rows, given the writable argument a
.
Construct a program to execute the update and yield a count of affected
rows, given the writable argument a
.
Attributes
- Source:
- update.scala
Program to execute a batch update and yield a count of affected rows. Note that failed updates are not reported (see https://github.com/tpolecat/doobie/issues/706). This API is likely to change.
Program to execute a batch update and yield a count of affected rows. Note that failed updates are not reported (see https://github.com/tpolecat/doobie/issues/706). This API is likely to change.
Attributes
- Source:
- update.scala
Perform a batch update as with updateMany 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.
Perform a batch update as with updateMany 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.
Attributes
- Source:
- update.scala
Construct a stream that performs a batch update as with updateMany,
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.
Construct a stream that performs a batch update as with updateMany,
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.
Attributes
- Source:
- update.scala
Construct a stream that performs the update, yielding generated keys of
readable type K
, identified by the specified columns, given a writable
argument a
. Note that not all drivers support generated keys, and some
support only a single key column.
Construct a stream that performs the update, yielding generated keys of
readable type K
, identified by the specified columns, given a writable
argument a
. Note that not all drivers support generated keys, and some
support only a single key column.
Attributes
- Source:
- update.scala
Construct a stream that performs the update, yielding generated keys of
readable type K
, identified by the specified columns, given a writable
argument a
and chunkSize
. Note that not all drivers support generated
keys, and some support only a single key column.
Construct a stream that performs the update, yielding generated keys of
readable type K
, identified by the specified columns, given a writable
argument a
and chunkSize
. Note that not all drivers support generated
keys, and some support only a single key column.
Attributes
- Source:
- update.scala
Construct a program that performs the update, yielding a single set of
generated keys of readable type K
, identified by the specified columns,
given a writable argument a
. Note that not all drivers support
generated keys, and some support only a single key column.
Construct a program that performs the update, yielding a single set of
generated keys of readable type K
, identified by the specified columns,
given a writable argument a
. Note that not all drivers support
generated keys, and some support only a single key column.
Attributes
- Source:
- update.scala
Value members
Concrete methods
Convert this Update to a Fragment
.