updateRow method

Future<ServerSideSession> updateRow(
  1. Session session,
  2. ServerSideSession row, {
  3. ColumnSelections<ServerSideSessionTable>? columns,
  4. Transaction? transaction,
})

Updates a single ServerSideSession. The row needs to have its id set. Optionally, a list of columns can be provided to only update those columns. Defaults to all columns.

Implementation

Future<ServerSideSession> updateRow(
  _i1.Session session,
  ServerSideSession row, {
  _i1.ColumnSelections<ServerSideSessionTable>? columns,
  _i1.Transaction? transaction,
}) async {
  return session.db.updateRow<ServerSideSession>(
    row,
    columns: columns?.call(ServerSideSession.t),
    transaction: transaction,
  );
}