In Swift, how does one delete all documents in the collection. Is the solution to iterate over each document to delete it by document id? Or is there a .deleteAll function?
TL;DR
To delete all documents in a collection in Swift, you need to iterate over each document and delete it by document id. There isn't a .deleteAll function available for this task.