I am making use of dynamic queries in mongoDB, by using them this way:
$query['clicks'] = array('$gt' => 6);
$query['lang'] = "de";
$cursor = $collection->find($query);
The question is pretty simple and straightforward: how can one add 'OR' conditionals? for example to have both 'lang' to be "de" OR "fr";
Because right now, Mongo implies that there is an AND between "clicks" and "lang". So how can i structure clicks > 6 && ( lang == 'de' || lang == 'fr' )