I have structure like this:
root
{
    auto_generated_key //push() 
   {
        user_id1 : true
        user_id2 : true
        mess
        {
            ...
        }
   }
}
how can i create query to find this node : "auto_generated_key", by two fields: "user_id1" and "user_id2". Here is no two similar combinations of "user_id1" and "user_id2" under "auto_generated_key" node.
When i try do it i have problem: i can`t to point that i have "auto_generated_key" and move deeply nested by my structure, because firebase creates new node under "root" node
Thank! Sorry, if my english is hard to understanding...