anchor.diff:  [[docs-delete-by-query-task-api]]
   === Works with the Task API
   
  -You can fetch the status of any running delete-by-query requests with the
  +You can fetch the status of any running delete by query requests with the
   <<tasks,Task API>>:
   
   [source,js]
  
positive.code: ==== Automatic slicing
  
  You can also let delete-by-query automatically parallelize using
  <<sliced-scroll>> to slice on `_id`. Use `slices` to specify the number of
  slices to use:
  
  [source,js]
  
negative.code: == Delete By Query API
  
  The simplest usage of `_delete_by_query` just performs a deletion on every
  document that matches a query. Here is the API:
  
  [source,js]
  --------------------------------------------------
  