I have a query requirement where I am looking to display only specific data by using an 'AND' statement or its equivalent. To better explain, I am referencing the example given in the Firebase Documentation.
// Find all dinosaurs whose height is exactly 25 meters.
var ref = firebase.database().ref("dinosaurs");
ref.orderByChild("height").equalTo(25).on("child_added", function(snapshot) {
console.log(snapshot.key);
});
While this line successfully retrieves all dinosaurs with a height of 25, my goal is to show dinosaurs with a height of '25' AND a name of 'Dino'. Is there a way to achieve this specific information retrieval?
I appreciate any assistance provided.