updateRow method

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

Updates a single RefreshToken. 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<RefreshToken> updateRow(
  _i1.Session session,
  RefreshToken row, {
  _i1.ColumnSelections<RefreshTokenTable>? columns,
  _i1.Transaction? transaction,
}) async {
  return session.db.updateRow<RefreshToken>(
    row,
    columns: columns?.call(RefreshToken.t),
    transaction: transaction,
  );
}