How can write query like in doctrine2
SELECT * from table where field = value1 or field = value2
I found something like
$em->getRepository('myentitity')
->findBy(
array('field' => 'value1','field'=>'value2'), // $where
);
But I think it is AND .. Please suggest me Thanks