mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
ManyToMany association can't use IN / OR criteria #5349
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?
Originally created by @shaunxq on GitHub (Dec 15, 2016).
SQL becomes
Criteria method orWhere() doesn't work in many-to-many association as well
SQL becomes
@lcobucci commented on GitHub (Dec 15, 2016):
@shaunxq thanks for pointing this out.
Could you please create a failing test case for this? You can find examples here:
6e6be3fdd9/tests/Doctrine/Tests/ORM/Functional/Ticket@mpdude commented on GitHub (Mar 28, 2025):
#11895 might be a fix, but I cannot figure out how to correctly do type conversion there. Help appreciated!