$writeUpdateInsertable method
- @protected
- GeneratedTable<
Object, GeneratedTable< table,Object, dynamic> > - Insertable insertable, {
- int? startIndex,
Writes column names and values for an update statement.
Used by generated code.
Implementation
@protected
StatementBuffer $writeUpdateInsertable(
GeneratedTable table,
Insertable insertable, {
int? startIndex,
}) {
final compiler = dialect.createCompiler();
compiler.addUpdateValues(insertable.toColumns(true));
return compiler.statement;
}