Help get the list of data

Good day to all!
I have a database as an example:

The challenge is to get items from the database where parameter = “Y”
I want to get the result like this: “Number 1, Number 2, Number 4, Number 6” and assign it to an array for further use.

Also wondering how to iterate over the elements of an array.

Then try with dictionary method…+ logic block.

Get all data , store in a dictionary. For the length of dictionary try to match with your requirement. If equal then add to the list

blocks & result



If using the REST api, then use indexing on firebase:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.