deleteWhere method

Future<int> deleteWhere(
  1. MssqlCondition where
)

Implementation

Future<int> deleteWhere(MssqlCondition where) async {
  final soft = binding.softDelete;
  if (soft != null) return _softDelete(where, soft);
  final engine = await _engine();
  final outcome = await engine.deleteWhere(
    operation: 'deleteWhere',
    where: <MssqlCondition>[where],
    scopes: _scopeConditions,
  );
  return outcome.affectedRows;
}