I'm creating an application where people can create a postering job with jobs in multiple cities. For example a job could contain posters in Toronto, Montreal & Chicago. I would like to organize it using a posters array like the following
{
  "posters": [
    {
      "id": "axf",
      "city": "Toronto"
    },
    {
      "id": "axf",
      "city": "Montreal"
    },
    {
      "id": "axf",
      "city": "Calgary"
    }
  ]
}
I would like to filter to find all of the jobs with posters in a certain city. Is this possible? I could also do it in a single string like the following
"posters":"Toronto&Montreal&Chicago"
Could I use something like Regex in the real-time database orderBy query? Here is the current query
    .orderByChild("job/job/city").equalTo("toronto")
I thought about something like this
 .orderByChild("job/job/city").equalTo(".*Toronto.*")
If this doesn't exist I'll make a feature request!
 
     
    