Closed panmareksadowski closed 5 years ago
I'm not very well experienced with the Database module - but have you tried giving child
a path-like string?
maybe something like (... and this is pulled out of thin air):
request.child('child1/child2')
Yes, it works. However request.child("child1/child2").equalTo("value", "property1").exec()
doesn't work.
How can I retrieve child of child? Supposed that I have database:
I tried in qml
request.child("child1").child("child2").exec()
, where request isDatabaseRequest
. Than snapshot.exists() is alwaysfalse
.