Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

query builder doctrien return sql

$qb = $this->createQueryBuilder('a');
$query=$qb->getQuery();
// SHOW SQL: 
echo $query->getSQL(); 
// Show Parameters: 
echo $query->getParameters();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #query #builder #doctrien #return #sql
ADD COMMENT
Topic
Name
7+6 =