I have a Database Structure for my chat application like this:
The member
node contains the list of userid. I want to make a query with the userid and get the all the data wrt to the trash which contain that userid within its member node.
Say for example: If I query with userid "Ar9emr50ZRhWewpl7jKtJ9Bwr2s2"
, I should get all the data from trash with id "-KuLIYP8IQJTCz62o9UU"
and "-KuLZatX9_gK_v81EhVJ"
.
I tried with indexing the member
but it supports only to query for single element values not for the list of values.