An optional Pos
indicating the source location where this Update
was
constructed.
An optional Pos
indicating the source location where this Update
was
constructed. This is used only for diagnostic purposes.
The SQL string.
Program to construct an analysis of this query's SQL statement and asserted parameter types.
Update is a contravariant functor.
Construct a program to execute the update and yield a count of affected rows, given the
writable argument a
.
Apply an argument, yielding a residual Update0
.
Program to execute a batch update and yield a count of affected rows.
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.
Construct a stream that performs a batch update as with updateMany
, yielding generated
keys of readable type K
, identified by the specified columns.
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 the update, yielding generated keys of readable type K
,
identified by the specified columns, given a writable argument a
.
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
and chunkSize
.
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 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
.
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.
An update parameterized by some input type
A
. This is the type constructed by thesql
interpolator.