UpsertClause<Row extends Object, RS extends GeneratedTable<Row, RS> >.doUpdate constructor
UpsertClause<Row extends Object, RS extends GeneratedTable<Row, RS> >.doUpdate (
- Insertable<
Row> update(- RS old
- List<
TableColumn< ? target,Object> > - Expression<
bool> where(- RS old
- Expression<
bool> targetCondition(- RS old
Creates a DoUpdate clause turning the insert into an update for the conflicting row.
Implementation
factory UpsertClause.doUpdate(
Insertable<Row> Function(RS old) update, {
List<TableColumn>? target,
Expression<bool> Function(RS old)? where,
Expression<bool> Function(RS table)? targetCondition,
}) = DoUpdate;