i want to get an array object of documents where an array fiel contains a specific value. My collection is something like :
{
"name" : "name",
"groups" : ["id1","id2"]
}
Using doctrine_mongodb and repository, i want for example all the documents where groups field contains value id2.