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