If there is only 1 item in the array, use = instead of IN #6092

Open
opened 2026-01-22 15:26:38 +01:00 by admin · 0 comments
Owner

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 =.

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 =.
admin added the New FeatureWon't FixQuestion labels 2026-01-22 15:26:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6092