Is there a way to query this deeply in the Firebase REST API? -


i have data below. i'd query users have "c" – (true or otherwise).

repos/users.json?orderby=??? 

can pull off w/ rest api?

{   "repos": {     "my_repo": {       "tags": {         "a": true,         "b": true,         "c": true,         "d": true       }     },     "users": {       "kevin": {         "a": true,         "c": true       },       "bob": {         "b": true,         "c": true       },       "alice": {         "a": true,         "d": true       }     }   } } 

you can query "users" values.

ref = new firebase("https://xxxx.firebaseio.com/repos/user/").orderbychild("c").equ‌​alsto("true"); 

the equalsto quoted in example, depending on how set in data. if string, need quotes, if not, adjust match dataset.

see firebase documentation


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -