insertOne method
Future<int>
insertOne(
- Insertable<
Row> row, { - InsertMode? mode,
- UpsertClause<
Tbl, Row> ? onConflict,
Inserts one row into this table.
This is equivalent to calling InsertStatement.insert - see that method for more information.
Implementation
Future<int> insertOne(
Insertable<Row> row, {
InsertMode? mode,
UpsertClause<Tbl, Row>? onConflict,
}) {
return insert().insert(row, mode: mode, onConflict: onConflict);
}