The method `getRootAliases` in PHP Doctrine's `QueryBuilder` class returns an array of root aliases. In the context of an SQL query, a root alias refers to the aliases assigned to the primary table or entity involved. This method is useful for retrieving the aliases assigned to the root entity in a query, allowing developers to access and manipulate them as needed.
PHP Doctrine\ORM QueryBuilder::getRootAliases - 30 examples found. These are the top rated real world PHP examples of Doctrine\ORM\QueryBuilder::getRootAliases extracted from open source projects. You can rate examples to help us improve the quality of examples.