doctrine getrepository findby

Solutions on MaxInterview for doctrine getrepository findby by the best coders in the world

showing results for - "doctrine getrepository findby"
Valentín
26 Oct 2017
1$em->getRepository('myentitity')
2       ->findBy(
3           array(
4             'field1' =>array( 'value1','value2'),
5             'field2' => 'value3'
6           )       // $where   
7  			      
8         );