I am using "hayko/mongodb" vendor.
One thing that I don't really get is how to perform a "LIKE" and "OR" statement in cakephp using MONGODB.
I tried this statement:
$this->find('all', array('conditions' => array('OR' => array(array('firstname like' => $name),array('lastname like' => $name)))));
but its not working since "LIKE" is an mysql function.
Thanks for the suggestions.