How to remove the data like from array in firebase realtime dtatabases

Viewed 39

See the image below, My question is, Suppose when I'm Passing the Object and compare the proudctOfwishList.id & proudctOfwishList.title in this behalf data are deleted in firebase.

firebase index value

const deleteWishList = () =>
        ref(database, `wishlist/${selectorLogin.uid}${productOfWishList}`).remove()
        
    }

proudctOfwishList is an object.

0 Answers
Related