Skip to content
Advertisement

Tag: react-native-firebase

delete a collection with document and collection again inside (firestore react native)

I am having trouble deleting on firestore here’s my delete but everytime i try to delete nothing happens . There’s no error at all . this is how I set that collection Answer If you want to delete all the docs of the messages (sub)collection, you need to query the collection and delete each document, for example by using Promise.all()

Advertisement