title: Delete all documents in a collection with Springdata mongo Query
body: <p>I want to implement a delete method which deletes all the documents in a collection. I am using mongo db with Spring Data.This could be done using db.myCollection.remove({}) in Mongo shell. But I want to write a method in my data access layer to do this.I am not using MongodbTemplate in my Dao class. I want to know how can I do this with Query. </p>
  
  <pre><code>Query query = new Query();
  </code></pre>
  
  <p>Could anybody please tell me how can I do it.</p>