The php doctrine.orm.QueryBuilder.resetDQLPart method is used in Doctrine ORM (Object-Relational Mapping) to remove a specific part of the DQL (Doctrine Query Language) from the QueryBuilder object. This method allows you to reset or clear a particular DQL part, such as SELECT, FROM, JOIN, WHERE, GROUP BY, HAVING, and ORDER BY, of an SQL query built using the QueryBuilder. By calling this method with the appropriate DQL part name as a parameter, you can remove that part from the query, allowing you to modify or rebuild it as needed.
PHP Doctrine\ORM QueryBuilder::resetDQLPart - 20 examples found. These are the top rated real world PHP examples of Doctrine\ORM\QueryBuilder::resetDQLPart extracted from open source projects. You can rate examples to help us improve the quality of examples.