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