Open cbondoc opened 3 months ago
https://github.com/firebase/snippets-web/blob/1abb6ce1a784ae5552946dff5f1f5aab7dcbda30/snippets/firestore-next/test-firestore/update_delete_field.js#L8-L15
The thing is you are updating a item in a collection but not deleting the item may be that's the reason they called it updateDoc instead of deleteDoc
https://github.com/firebase/snippets-web/blob/1abb6ce1a784ae5552946dff5f1f5aab7dcbda30/snippets/firestore-next/test-firestore/update_delete_field.js#L8-L15