[PR #224] [MERGED] DDC-551 #7883

Open
opened 2026-01-22 15:57:22 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/224
Author: @beberlei
Created: 12/18/2011
Status: Merged
Merged: 12/18/2011
Merged by: @beberlei

Base: masterHead: DDC-551


📝 Commits (10+)

  • a85902b [DDC-551] Initial code for filter functionality
  • b867744 [DDC-551] Added tests for SQLFilter functionality + small fixes
  • 277fc75 [DDC-551] Added tests for SQLFilter
  • d1908f7 [DDC-551] Keep filter parameters and enabled filters sorted for hashing
  • 4cf63a4 [DDC-551] Fixed the escaping of filter parameters
  • 4266ab7 [DDC-551] Added __toString() method to SQLFilter
  • afd7a54 [DDC-551] Removed 'use ..DBAL..\Type', causing full testsuite to fail
  • 6163d9d [DDC-551] Added enabled filters to Query hash
  • e3dcfa8 [DDC-551] Added filters to query hash + tests for hash
  • 6cf7bdc Merge branch 'master' into DDC-551

📊 Changes

13 files changed (+1350 additions, -22 deletions)

View changed files

📝 lib/Doctrine/ORM/Configuration.php (+27 -2)
📝 lib/Doctrine/ORM/EntityManager.php (+44 -1)
📝 lib/Doctrine/ORM/Persisters/BasicEntityPersister.php (+49 -4)
📝 lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php (+11 -0)
📝 lib/Doctrine/ORM/Persisters/ManyToManyPersister.php (+83 -8)
📝 lib/Doctrine/ORM/Persisters/OneToManyPersister.php (+9 -4)
📝 lib/Doctrine/ORM/Persisters/SingleTablePersister.php (+11 -0)
📝 lib/Doctrine/ORM/Query.php (+6 -2)
lib/Doctrine/ORM/Query/Filter/SQLFilter.php (+115 -0)
lib/Doctrine/ORM/Query/FilterCollection.php (+198 -0)
📝 lib/Doctrine/ORM/Query/SqlWalker.php (+76 -0)
tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php (+720 -0)
📝 tests/Doctrine/Tests/ORM/Functional/Ticket/DDC633Test.php (+1 -1)

📄 Description

Refactored DDC-551 branch and finished for merging.

One little outstanding Todo @asm89 will finish up during beta.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/224 **Author:** [@beberlei](https://github.com/beberlei) **Created:** 12/18/2011 **Status:** ✅ Merged **Merged:** 12/18/2011 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `DDC-551` --- ### 📝 Commits (10+) - [`a85902b`](https://github.com/doctrine/orm/commit/a85902b08d8b7a55fb8c61369baf4af779a8ab25) [DDC-551] Initial code for filter functionality - [`b867744`](https://github.com/doctrine/orm/commit/b867744f15b40e19604056481c388a7606f1a728) [DDC-551] Added tests for SQLFilter functionality + small fixes - [`277fc75`](https://github.com/doctrine/orm/commit/277fc751b6cbcc906e1986947b2b4fee3ff6f382) [DDC-551] Added tests for SQLFilter - [`d1908f7`](https://github.com/doctrine/orm/commit/d1908f7207565a3cdd47ee42dd73a38642cde519) [DDC-551] Keep filter parameters and enabled filters sorted for hashing - [`4cf63a4`](https://github.com/doctrine/orm/commit/4cf63a4e83665ab674c2e95630f031490d6c42a6) [DDC-551] Fixed the escaping of filter parameters - [`4266ab7`](https://github.com/doctrine/orm/commit/4266ab77b219242455c8d46a93f81e2dcf13b143) [DDC-551] Added __toString() method to SQLFilter - [`afd7a54`](https://github.com/doctrine/orm/commit/afd7a540a7f5c01767d15f18a519978ff1562028) [DDC-551] Removed 'use ..DBAL\..\Type', causing full testsuite to fail - [`6163d9d`](https://github.com/doctrine/orm/commit/6163d9d932104fcf17912674e40926310b4a5c88) [DDC-551] Added enabled filters to Query hash - [`e3dcfa8`](https://github.com/doctrine/orm/commit/e3dcfa870257fdb1965e5d6ac74f7b1d91684b6d) [DDC-551] Added filters to query hash + tests for hash - [`6cf7bdc`](https://github.com/doctrine/orm/commit/6cf7bdc2b77665afb07f0fb172af6c4112a9a035) Merge branch 'master' into DDC-551 ### 📊 Changes **13 files changed** (+1350 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Configuration.php` (+27 -2) 📝 `lib/Doctrine/ORM/EntityManager.php` (+44 -1) 📝 `lib/Doctrine/ORM/Persisters/BasicEntityPersister.php` (+49 -4) 📝 `lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php` (+11 -0) 📝 `lib/Doctrine/ORM/Persisters/ManyToManyPersister.php` (+83 -8) 📝 `lib/Doctrine/ORM/Persisters/OneToManyPersister.php` (+9 -4) 📝 `lib/Doctrine/ORM/Persisters/SingleTablePersister.php` (+11 -0) 📝 `lib/Doctrine/ORM/Query.php` (+6 -2) ➕ `lib/Doctrine/ORM/Query/Filter/SQLFilter.php` (+115 -0) ➕ `lib/Doctrine/ORM/Query/FilterCollection.php` (+198 -0) 📝 `lib/Doctrine/ORM/Query/SqlWalker.php` (+76 -0) ➕ `tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php` (+720 -0) 📝 `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC633Test.php` (+1 -1) </details> ### 📄 Description Refactored DDC-551 branch and finished for merging. One little outstanding Todo @asm89 will finish up during beta. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:22 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7883