updateWhere method
Future<List<UserProfileImage> >
updateWhere(
- Session session, {
- required ColumnValueListBuilder<
UserProfileImageUpdateTable> columnValues, - required WhereExpressionBuilder<
UserProfileImageTable> where, - int? limit,
- int? offset,
- OrderByBuilder<
UserProfileImageTable> ? orderBy, - OrderByListBuilder<
UserProfileImageTable> ? orderByList, - bool orderDescending = false,
- Transaction? transaction,
Updates all UserProfileImages matching the where expression with the specified columnValues.
Returns the list of updated rows.
Implementation
Future<List<UserProfileImage>> updateWhere(
_i1.Session session, {
required _i1.ColumnValueListBuilder<UserProfileImageUpdateTable>
columnValues,
required _i1.WhereExpressionBuilder<UserProfileImageTable> where,
int? limit,
int? offset,
_i1.OrderByBuilder<UserProfileImageTable>? orderBy,
_i1.OrderByListBuilder<UserProfileImageTable>? orderByList,
bool orderDescending = false,
_i1.Transaction? transaction,
}) async {
return session.db.updateWhere<UserProfileImage>(
columnValues: columnValues(UserProfileImage.t.updateTable),
where: where(UserProfileImage.t),
limit: limit,
offset: offset,
orderBy: orderBy?.call(UserProfileImage.t),
orderByList: orderByList?.call(UserProfileImage.t),
orderDescending: orderDescending,
transaction: transaction,
);
}