title: Firebase Database Query Data
body: <p>I am new to Firebase Database, I am making an android app in which the structure of the data is like this :</p>
  
  <pre><code>{
  posts={
      -Ks4AoL7F-oKtwd3M8Ao={
          address=Address of mine, 
          title=Title , 
          subcategory=E-waste, category=Garbage, 
          time=21-08-2017 07:54 p.m., 
          mobileNumber=some mobile number, 
          comment=hhdhdehsbsbhs, 
          statusText=Pending, 
          imagePath=https://firebasestorage.googleapis.com/v0/b/path-to-image
      },...
  }
  </code></pre>
  
  <p>So in this structure i want to query the posts on the basis of the mobile number i.e., if the mobile number matches than the current post will be retrieved else skip this post and check for next post and so on...</p>