query builder doctrien return sql

Solutions on MaxInterview for query builder doctrien return sql by the best coders in the world

showing results for - "query builder doctrien return sql"
Olivia
19 Jan 2020
1$qb = $this->createQueryBuilder('a');
2$query=$qb->getQuery();
3// SHOW SQL: 
4echo $query->getSQL(); 
5// Show Parameters: 
6echo $query->getParameters();
7
similar questions
queries leading to this page
query builder doctrien return sql