Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
What you would like to accomplish:
To delete a document you must have or create a DocumentReference to that document. This requires that you know its complete and exact path to the document. If you want to delete documents that match a certain condition without already knowing their paths, you will first need to query for those documents to determine those paths/DocumentReferences. This involves reading them.
Being able to delete documents without reading them as specified in the public documentation using either the ID or a where clause on the index compounds.
If applicable, reasons why alternative solutions are not sufficient:
Reading the documents when you only want to delete them ends up costing an extra while you only really need to one of those operations.