
I want retrieve movie name that type is action.I use this query but it didn't work.
  Query query = mRef.child("Movie").orderByChild("1").equalTo("Action");
How can I retrieve movie name that type is action?

I want retrieve movie name that type is action.I use this query but it didn't work.
  Query query = mRef.child("Movie").orderByChild("1").equalTo("Action");
How can I retrieve movie name that type is action?
 
    
     
    
    Action is under type node, so modify your query.
Query query = mRef.child("Movie").orderByChild("1").child("Type").equalTo("Action");
