Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

run raw sql with doctrine manager

   $em = $this->getDoctrine()->getManager();
   $stmt = $em->getConnection()->prepare($sql);
   $stmt->execute();
   return $stmt->fetchAll();
 
PREVIOUS NEXT
Tagged: #run #raw #sql #doctrine #manager
ADD COMMENT
Topic
Name
6+5 =