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