Skip to content

Loading…

DDC-1347: Github-PR-110 by shesek: Support NULL in EntityRepository's magic findBy and findOneBy methods #1964

Open
doctrinebot opened this Issue · 0 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of {username}:

Url: #110

Message:

The magic findBy and findOneBy methods don't support passing NULL as the value, because "we cannot (yet) transform it into IS NULL".

However, BasicEntityPersister::_getSelectConditionSQL() does support that. It seems like leftovers from when there was no support for it. I tried it locally (after applying this change) and it does seem to work well.

@beberlei beberlei was assigned by doctrinebot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.