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