mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #998] [CLOSED] DDC-3065 null value in in criteria support #9016
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/998
Author: @Ocramius
Created: 4/3/2014
Status: ❌ Closed
Base:
master← Head:hotfix/DDC-3056-null-value-in-in-criteria-support📝 Commits (5)
2cec272DDC-3056 - failing test - IN()-alike criteria should support NULL search valuesa9a5062DDC-3056 - hardening test - should support multiple values in IN(), also NULL ones9780a97DDC-3056 - splitting tests and checking multiple values support978738dDDC-3056 - persister tests for criteria containingNULLvalues inIN()conditionsee7e25cDDC-3056 - applying hotfix that allowsNULLinIN()criteria📊 Changes
3 files changed (+122 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(+7 -1)📝
tests/Doctrine/Tests/ORM/Functional/EntityRepositoryTest.php(+84 -0)📝
tests/Doctrine/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php(+31 -0)📄 Description
See DDC-3065 (http://www.doctrine-project.org/jira/browse/DDC-3065)
This MAY be a breakage, since the following API now works as expected:
Where before,
nullwas just ignored🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.