DDC-1087: Repository::findBy and Repository::findOneBy NULL invalid query #1681

Closed
doctrinebot opened this Issue Mar 29, 2011 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user vrtak-cz:

$repository->findBy(array('foo' => NULL)); // or findOneBy

convert to invalid query:

SELECT f.* FROM foo f  WHERE f.foo = NULL;

in MySQL doesn't same as valid:

SELECT f.* FROM foo f  WHERE f.foo IS NULL;
@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0.4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment