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