mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
If there is only 1 item in the array, use = instead of IN #6092
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 @jardayn on GitHub (Nov 1, 2018).
Originally assigned to: @Ocramius on GitHub.
Feature Request
Purely for performance reasons.
Summary
It improves query performance, as MySQL is dumb and doesn't convert an IN with one item to a =.