I have a mongodb collection where objects or entries are GEOjson entries basically composed of properties and coordinates which are both arrays. The properties array contains the ID which make the object or entry unique in the collection. It also contains parent IDs needed for "grouping" them. So how do I find entries in the collection with let's say properties['parentID'] = '47'?

Tried using this though to no avail: $resultset = CityCoordinates::find(array(array("properties[\"city.ID_1\"]"=>"47")));