Android Firebase Query -
i have structure now, im making query this:
databasereference myref = database.getreference("users"); myref.equalto("6991580","ci").addlistenerforsinglevalueevent(new ...
i expecting second node result.. get:
datasnapshot { key = users, value = null }
so, wrong query? or maybe im doing wrong?
best regards , reply.
you need tell firebase child property want order/filter on:
myref.orderbychild("ci").equalto("6991580").addlistenerforsinglevalueevent(...
the other format of ordering commonly misunderstood version. i'd recommend staying away it.