[DDC-3553] Create a QueryBuilder from a Query/DQL Created: 01/Feb/15 Updated: 01/Feb/15 Resolved: 01/Feb/15
|Project:||Doctrine 2 - ORM|
|Reporter:||Dries De Peuter||Assignee:||Marco Pivetta|
I am searching for a way to create a QueryBuilder from an existing Query or a DQL string.
Can I currently do this?
If this is not the case. I would love to create this but I don't see how to parse the DQL into parts.
|Comment by Marco Pivetta [ 01/Feb/15 ]|
Not an issue
Note that the QueryBuilder just assembles strings: there is currently no way to transform DQL into a query builder, as the operation is not bijective.
|Comment by Dries De Peuter [ 01/Feb/15 ]|
I understand. Is their any way you would suggest allowing a DQL to be altered/extended.