Is there any way to query a firebase child node and check if it contains a value.
At the moment my code is :
Query query=treasuresRef.orderByChild("category").equalTo(category);
However, this does not work for me, because sometimes I have multiple categories in a child separated by a comma. I want to query to check if the child category contains the substring variable category.
Any suggestions?