Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
653 views
in Technique[技术] by (71.8m points)

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

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...