So I\'m trying to find the data \"aaaaabbbbbbaaaa\" in this structure:
disney
studentList
-Jh46tlaNFx_YmgA8iMJ: \"aaaaabbbbbbaaaa\"
-Jh474kAvoekE4hC7W3b:\"54c
I guess it was added after your question was made, the solution here https://firebase.google.com/docs/database/admin/retrieve-data?hl=en#ordering-by-value tackles your need right away:
ref("studentList").orderByValue().on("value", function(snapshot) {
snapshot.forEach(function(data) {
console.log(data.val());
});
});