Is there a way to generate a push ID from the Console in the new Realtime Database?

…衆ロ難τιáo~ 提交于 2019-11-26 23:27:27

问题


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?


回答1:


No, the console doesn't support it currently. I've been using firebase for a while and I've never needed it :)



来源:https://stackoverflow.com/questions/37454625/is-there-a-way-to-generate-a-push-id-from-the-console-in-the-new-realtime-databa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!