K
K
kirawa2018-03-01 15:08:13
Android
kirawa, 2018-03-01 15:08:13

How to create such a filter?

Good afternoon! How to create a filter on an array of values?
to:
0: "fjq8oz-ZMZM:APA91bF-9TJxmVRoE21jJFV96M5Tevja4C1..."
1: "crXobleBbIE:APA91bFmU_R0xZrfHvYdai1w33zSIbOKJ7y..."
2:
3: ........... etc.
Query queryToTokenId = databaseRef.orderByChild("to").equalTo(token); // how to do it right here to iterate over all values ​​from the array of tokens??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Pavlovsky, 2018-03-01
@TranE91

Look towards intersections of sets. The in operator in sqlite, if I understood the question correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question