I am trying to fetch a good amount of data from firebase. When i normally load all data using single where clause it takes approximate 1 minute to load. i want to add multiple where clause so that i can check at the time of fetching so that i can optimize the time by not fetching unwanted data. How can i check multiple conditions while fetching the data from firebase realtimedatabase
Here is my code:
var query = FirebaseDatabase.instance.reference().child(str_gender)
.child('Facial Parts/Nose').orderByChild("noselength").equalTo(str_length);
Here i can check only by nose length but i want to filter it out by nose length,nosetype,nose width
in other language we can say
noselength=value and nosewidth=value and nosewidth=value
if condition satisfies then only i need to fetch data
so how to add multiple where clause in my existing code??