Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDC-125: Include Query Hints in DQL Query Cache #1859

Closed
doctrinebot opened this issue Nov 6, 2009 · 2 comments
Closed

DDC-125: Include Query Hints in DQL Query Cache #1859

doctrinebot opened this issue Nov 6, 2009 · 2 comments
Assignees
Milestone

Comments

@doctrinebot
Copy link

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
Copy link
Author

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
Copy link
Author

Issue was closed with resolution "Fixed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants