How can I approach a compound query?
I want to get the values where Lamp=id AND AssignedTo=''
So I thought of an approach like this
FirebaseDatabase().reference().child('history').orderByChild('Lamp').equalTo(id).orderByChild('AssignedTo').equalTo('');
But it did not work.
I am using flutter