mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #863] [MERGED] The new configuration option: defaultQueryHints #8820
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/863
Author: @Strate
Created: 11/27/2013
Status: ✅ Merged
Merged: 5/15/2014
Merged by: @guilhermeblanco
Base:
master← Head:feature/default-query-hints📝 Commits (3)
e8d47faAdded a new configuration option: defaultQueryHints, which allows to populate all queries by default set of hints.352f38aFix comment5c44dd3Allow to use object as a hint value.📊 Changes
4 files changed (+77 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/AbstractQuery.php(+3 -1)📝
lib/Doctrine/ORM/Configuration.php(+53 -0)📝
lib/Doctrine/ORM/Query.php(+1 -1)📝
tests/Doctrine/Tests/ORM/Query/QueryTest.php(+20 -0)📄 Description
I propose the new configuration option:
defaultQueryHints, where developer can set array of hints, which will be applied to every query, created by doctrine. This option will be useful to set global AST walker, for example.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.