0

I am trying to get the keys(nodes names) from firebase. My db looks like

xxxxx-heat-xxxx-> contacts ,yoni-alina-12-03-2014,yoni-alex-12-03-2014

the contacts,yoni... are keys and they have array. I need to get the names of tables... like in this example I should get contacts,yoni-alina-12-03-2014,yoni-alex-12-03-2014

Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89
  • There aren't tables in Firebase. It is just a ref (or a node ). – Gabriele Mariotti May 30 '16 at 06:42
  • yes you right I want to get names of the node – Vitaly Menchikovsky May 30 '16 at 06:53
  • The Firebase Database SDKs (such as the JavaScript SDK used by Ionic) have no way to only load the keys. In the Firebase Database you either load the entire node or you load none of it. See http://stackoverflow.com/questions/17211811/get-firebase-child-nodes-names-without-getting-their-children-too-in-firebase-r – Frank van Puffelen May 30 '16 at 14:58

0 Answers0