updateById method
Future<SmsPasswordResetRequest?>
updateById(
- DatabaseSession session,
- UuidValue id, {
- required ColumnValueListBuilder<
SmsPasswordResetRequestUpdateTable> columnValues, - Transaction? transaction,
Updates a single SmsPasswordResetRequest by its id with the specified columnValues.
Returns the updated row or null if no row with the given id exists.
Implementation
Future<SmsPasswordResetRequest?> updateById(
_i1.DatabaseSession session,
_i1.UuidValue id, {
required _i1.ColumnValueListBuilder<SmsPasswordResetRequestUpdateTable>
columnValues,
_i1.Transaction? transaction,
}) async {
return session.db.updateById<SmsPasswordResetRequest>(
id,
columnValues: columnValues(SmsPasswordResetRequest.t.updateTable),
transaction: transaction,
);
}