title: How to delete multiple documents that have different ids in firestore?
body: <p>I got a multiple documents with different ids, and i need to implement some method to delete them all, i searched so i guess the way i should go is to use batch.
  So my database is as shown in this <a href="https://i.stack.imgur.com/U1tkC.png" rel="nofollow noreferrer">Image</a></p>
  
  <p>so i was able to get my documents' ids in an array list like that.. </p>
  
  <p>[0Y5rfMK3duHBUTN9XsO5, 2Q70mSjNxkAoUMDAJ8rz, etc...]</p>
  
  <p>and my code: </p>
  
  <pre><code>WriteBatch batch = db.batch();
  DocumentReference myRef = db.collection("Collection").document(String.valueOf(idsList));
  batch.delete(myRef);
  batch.commit();
  </code></pre>
  
  <p>but this doesn't work, so if there is a little missed step, or if there is any other way to perform it, it would be greatly appreciated to write it down.</p>