Create an empty child record in Firebase
firebase
Solution
Null and empty values are the same as the record not existing. If you want it to exist, you have to set a value.
In other words, when you test for a record's existence, you aren't looking to see if the key is in the database, you are looking to see if the path (the location of that key) has any data.
Suggestion: use a falsy value like 0 or false until you have some data to throw into that location. You're not limited by data types as you would be with SQL, so you can always replace that with an object/array/et al later.
Problem
I am trying to create a child using the Firebase data view but it seems that this is not possible as the create node directly disappears or rather doesn't show up at any time. I tried to leave the value field empty but this doesn't work at all as well as writing null into the value field. Am I doing it wrong? -Fabian