deleteWhere method

Future<List<FutureCallClaimEntry>> deleteWhere(
  1. DatabaseSession session, {
  2. required WhereExpressionBuilder<FutureCallClaimEntryTable> where,
  3. OrderByBuilder<FutureCallClaimEntryTable>? orderBy,
  4. @Deprecated('Use desc() on the orderBy column instead.') bool orderDescending = false,
  5. OrderByListBuilder<FutureCallClaimEntryTable>? orderByList,
  6. 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<FutureCallClaimEntry>> deleteWhere(
  _i1.DatabaseSession session, {
  required _i1.WhereExpressionBuilder<FutureCallClaimEntryTable> where,
  _i1.OrderByBuilder<FutureCallClaimEntryTable>? orderBy,
  @Deprecated('Use desc() on the orderBy column instead.')
  bool orderDescending = false,
  _i1.OrderByListBuilder<FutureCallClaimEntryTable>? orderByList,
  _i1.Transaction? transaction,
}) async {
  return session.db.deleteWhere<FutureCallClaimEntry>(
    where: where(FutureCallClaimEntry.t),
    orderBy: orderBy?.call(FutureCallClaimEntry.t),
    orderByList: orderByList?.call(FutureCallClaimEntry.t),
    orderDescending: // ignore: deprecated_member_use
        orderDescending,
    transaction: transaction,
  );
}