mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #1092] [MERGED] [DDC-2794] Arbitrary Join count walkers solution #9145
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/1092
Author: @birko
Created: 7/30/2014
Status: ✅ Merged
Merged: 9/22/2014
Merged by: @Ocramius
Base:
master← Head:pagination-count-walker📝 Commits (7)
114bd24Arbitrary Join count walkers solutiona37f99fRoot selection according other pagination tools1643525Added Tests for Arbitrary Join458b953fixed typos in tests54ac6a0Updated Asset queriesd48be34CS Fixes589d26fChanged calling $from[0] to using reset($from)📊 Changes
8 files changed (+117 additions, -50 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php(+2 -1)📝
lib/Doctrine/ORM/Tools/Pagination/CountWalker.php(+12 -17)📝
lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php(+2 -1)📝
lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php(+13 -14)📝
lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php(+12 -17)📝
tests/Doctrine/Tests/ORM/Tools/Pagination/CountWalkerTest.php(+16 -0)📝
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryWalkerTest.php(+31 -0)📝
tests/Doctrine/Tests/ORM/Tools/Pagination/WhereInWalkerTest.php(+29 -0)📄 Description
Possible solution for Arbitrary Join problem in pagination count
walkers:
https://groups.google.com/forum/#!topic/doctrine-user/rpPYCDNKOU8
Added a condition to test query component against SelectStatement from
clause
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.