I have a listing
node in my Database and wanted to add data into it from the web console. I want to have a push ID as the key of the object. Something like this :
{
"listing": {
"4acd4g1OreMyo2FkW6DlQH7ZhvY2": {
"name": "abc",
"location": "xyz"
}
}
}
where '4acd4g1OreMyo2FkW6DlQH7ZhvY2' would be the auto generated push ID.
I know it can be done using the Android/iOS/JS SDKs (using the push
method). But is this possible from the console?
Use the Push() method to append data to a list in multiuser applications. The Push() method generates a unique key every time a new child is added to the specified Firebase reference.
Firebase uses randomly generated unique identifiers when a new user is created. Then it always uses that same identifier for that particular user every time.
Must be your Firebase project ID, the unique identifier for your Firebase project, which can be found in the URL of that project's console.
No, the console doesn't support it currently. I've been using firebase for a while and I've never needed it :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With