How can get data with parameter on Firebase?


#1

Hi,

I have a real time database on Firebase, here is the screenshot form that

Ekran%20Al%C4%B1nt%C4%B1s%C4%B1

So I want get data by using parameter, for example I want get a rcord with uID parameter. How can do that?

UPDATE

I could get data, but it is not clear answer for this question because I get data with a specific key value. Here is the example;

db.database.ref('/User/-L88gtymS5pS3KWtZrmI').on('value', res => {
      console.log(res.val().email)
    });

But as you can guess, I can not give key values manually in the code, so I need a dynamic structure.