Get multiple values from firebase Query?

70 views
Skip to first unread message

Edward Lawrence

unread,
Sep 3, 2018, 5:08:14 PM9/3/18
to Firebase Google Group
Hello!!

part of the information I need to read for my app from firebase realtime database I need to obtain through a single query
I want to be able to add/update children of the title tree in my database to instantly update within my app rather than having to push an update through

this part of the database is structured like so 

public---
         bigqueryobject----
                  title1
                  title2
                  title3
                  title4
                  title5
                  title6

I need to send one read signal to firebase to obtain all the child keys/values of 'bigqueryobject'

I have tried the following and to no avail, what could I do to get this working ?

thanks!

        onFirebaseReady: {
            firebaseDb.getValue("public/bigqueryobject",{

                                orderByChild: true

                                }, function(success, key, value) {

                                    if(success) {

                                        console.debug("Read user value for key", key, "fromFBDB: ", value);

                                        myArray.push(value); combobox.model = myArray

                                    }

                                })
                           
}



Reply all
Reply to author
Forward
0 new messages