updateRow method

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

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