Doctrine Query Language
Michael Römer · Apress eBooks · 2016
Earlier in this book, we learned about repositories, containers for entities of a specific type. They are used to look up entities by specific criteria, do updates or deletes, and so on. They do their work with the help of finder methods, which are implemented using Doctrine’s own entity query language DQL, the Doctrine Query Language. Strictly speaking, DQL is not bound to finder methods or repositories; however, it is usually good practice to put all DQL statements there, just to keep things organized. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.