Reputation: 137
I have list of appointments stored in firebase collection, how can I delete a specific appointment ?
Upvotes: 4
Views: 744
Reputation: 598668
If you know the exact value for each field of the array item, you can use FieldValue.remove
to remove that item from the array.
If you don't know all values of the item, the only way to remove the item is to:
Upvotes: 5