mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #999] [MERGED] DDC-3065 null value in in criteria support #9019
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/999
Author: @Ocramius
Created: 4/3/2014
Status: ✅ Merged
Merged: 4/21/2014
Merged by: @guilhermeblanco
Base:
master← Head:hotfix/DDC-3065-null-value-in-in-criteria-support📝 Commits (5)
f2f571eDDC-3065 - failing test - IN()-alike criteria should support NULL search valuesf54d615DDC-3065 - hardening test - should support multiple values in IN(), also NULL oneseb64985DDC-3065 - splitting tests and checking multiple values supporta8b9680DDC-3065 - persister tests for criteria containingNULLvalues inIN()conditions733102bDDC-3065 - 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.