Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

doctrine getrepository findby

$em->getRepository('myentitity')
       ->findBy(
           array(
             'field1' =>array( 'value1','value2'),
             'field2' => 'value3'
           )       // $where   
  			      
         );
 
PREVIOUS NEXT
Tagged: #doctrine #getrepository #findby
ADD COMMENT
Topic
Name
1+6 =