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