updateById method
Future<UserProfileImage?>
updateById(
- Session session,
- UuidValue id, {
- required ColumnValueListBuilder<
UserProfileImageUpdateTable> columnValues, - Transaction? transaction,
Updates a single UserProfileImage by its id with the specified columnValues.
Returns the updated row or null if no row with the given id exists.
Implementation
Future<UserProfileImage?> updateById(
_i1.Session session,
_i1.UuidValue id, {
required _i1.ColumnValueListBuilder<UserProfileImageUpdateTable>
columnValues,
_i1.Transaction? transaction,
}) async {
return session.db.updateById<UserProfileImage>(
id,
columnValues: columnValues(UserProfileImage.t.updateTable),
transaction: transaction,
);
}