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