I have a project returning data from IOT devices in different rooms. The data is set up as:
<firebase_url>
|-<room_id>
| |-<report_id>
| | |-<data>
| |
| |-<report_id>
| |-<data>
|
|-<room_id>
I want to be able to query based on info in the <data>
but it keeps telling me I need an index. The problem is that the room id's aren't hard coded. They're set from the devices. Is there a way to do this without needing to add an index for every new room added?