mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-125: Include Query Hints in DQL Query Cache #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 6, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
The \Doctrine\ORM\Query has a TODO comment on possible inclusion of the query hints for the DQL Query Parsing Cache.
I have a use case for a custom SQL walker for switching the SELECT part of a query with SELECT count(*) FROM to be able to use Query objects in a paginator. However this would break the query cache since both queries would match the same query cache string.
@doctrinebot commented on GitHub (Feb 10, 2010):
Comment created by @beberlei:
Fixed, updated ResultCache to use hints also, aswell as fixed a dependency problem in AbstractQuery using getDql() instead of getSql()
@doctrinebot commented on GitHub (Feb 10, 2010):
Issue was closed with resolution "Fixed"