title: How can i get data from firebase
body: <p>I want to do a user search vie search bar.when I enter the last name I should receive data about users if there are matches but i don't know how.</p>
  
  <p>here is my try </p>
  
  <pre><code>searchBar(){
    let a=app.database().ref('users/'+app.auth().currentUser.uid).orderByChild('/surname').equalTo('Крюкин');
    console.log(a);
  }
  </code></pre>
  
  <p>here is structure of data</p>
  
  <p><img src="https://i.stack.imgur.com/x37ck.png" alt="enter image description here"></p>