[Vuejs]-Why does my method don't work for deleting firebase object? on vue

0👍

Ok, I found the answer:

Firebase snapshot key was design this way: firebase key website

Accessing the key on any DataSnapshot will return the key for the location that generated it. However, accessing the key on the root URL of a Database will return null.

So it’s it obligates us to relate it to a key inside the object which makes the firebase real-time DB really insecure

here is another picture to describe the bad design problem:

real time design of key herarchy

that anyone know if mongo DB has this issue?

Leave a comment