mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #714] [CLOSED] Cache results for extra lazy get #8600
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/714
Author: @sandermarechal
Created: 7/3/2013
Status: ❌ Closed
Base:
master← Head:cache-extra-lazy-get📝 Commits (5)
6ce83acCache results for extra lazy getaa4f864QueryCount style fix7448ac6Do not cache items in the uninitialized collectionedf52f4Drop cache when initializing collection6119595Cache nonexistent keys as well📊 Changes
2 files changed (+31 additions, -3 deletions)
View changed files
📝
lib/Doctrine/ORM/PersistentCollection.php(+18 -2)📝
tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php(+13 -1)📄 Description
Repeated getting of the same key on an extra lazy collection
should only issue a query for the first get, not for any
subsequent gets.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.