deleteWhere method
Future<List<FutureCallEntry> >
deleteWhere(
- DatabaseSession session, {
- required WhereExpressionBuilder<
FutureCallEntryTable> where, - OrderByBuilder<
FutureCallEntryTable> ? orderBy, - @Deprecated('Use desc() on the orderBy column instead.') bool orderDescending = false,
- OrderByListBuilder<
FutureCallEntryTable> ? orderByList, - Transaction? transaction,
Deletes all rows matching the where expression.
To specify the order of the returned rows use orderBy or orderByList
when sorting by multiple columns.
Implementation
Future<List<FutureCallEntry>> deleteWhere(
_i1.DatabaseSession session, {
required _i1.WhereExpressionBuilder<FutureCallEntryTable> where,
_i1.OrderByBuilder<FutureCallEntryTable>? orderBy,
@Deprecated('Use desc() on the orderBy column instead.')
bool orderDescending = false,
_i1.OrderByListBuilder<FutureCallEntryTable>? orderByList,
_i1.Transaction? transaction,
}) async {
return session.db.deleteWhere<FutureCallEntry>(
where: where(FutureCallEntry.t),
orderBy: orderBy?.call(FutureCallEntry.t),
orderByList: orderByList?.call(FutureCallEntry.t),
orderDescending: // ignore: deprecated_member_use
orderDescending,
transaction: transaction,
);
}