M
M
Morerion2016-11-01 12:51:05
JavaScript
Morerion, 2016-11-01 12:51:05

How to iterate over the entire database and find the desired value?

(Pre-story)
I'm learning AngularFire2 and ran into a problem, at this point (Fourth of Five)
https://github.com/angular/angularfire2/blob/maste...
If we scroll down we can understand what this application does,
When you click on the button (For example, small), the script enters items and checks item1, item2, item3 there, if it finds small in any of the item(1,2,3), then it takes its text and displays it.
(What is the problem)
And how to enumerate the entire database without giving exact values ​​check item1/2/3
That is, enumerate this:
0a5d134ba32440dcb0bd5a2f90c37c86.png
And not this:
e7e5467cdef14cfa9dacefbf02e6b649.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-11-01
@xmoonlight

"Waterfall" descent along the hash "tree".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question