updateRow method

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

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