updateRow method

Future<GoogleAccount> updateRow(
  1. DatabaseSession session,
  2. GoogleAccount row, {
  3. ColumnSelections<GoogleAccountTable>? columns,
  4. Transaction? transaction,
})

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