insertReturningOrNull method
Inserts one row into this table and returns it, along with auto-generated fields.
When neither an insert nor an error happened (for instance because an
onConflict clause with a where clause was used), returns null.
Implementation
Future<Row?> insertReturningOrNull(
Insertable<Row> row, {
UpsertClause<Row, RS>? onConflict,
}) {
return insert().insertReturningOrNull(row, onConflict: onConflict);
}