Closed
Description
Bug Report
Q | A |
---|---|
BC Break | no |
Version | - |
Summary
In this Reddit comment, @Ocramius recommends using DQL with NOWDOC strings instead of QueryBuilder. In fact, he says that "query builder is less safe and less readable"
Current behavior
The main article of QueryBuilder in Doctrine docs says things like this:
QueryBuilder helper methods are considered the standard way to build DQL queries.
Maybe some docs need some update to recommend DQL instead? (except when building queries dynamically, when using QueryBuilder will be better)
Thanks!