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, developers can iterate over each document and delete them by document id. There is no built-in .deleteAll function for collections in Swift.