Skip to content

Conversation

@JulianVennen
Copy link
Member

This PR throws an error if an invalid where condition of the "IN" or "NOT IN" operator is passed to a query.
These conditions can be invalid, either because their value is an empty array or because it's not an array at all.

Previous behavior:

Case Mysql Test Driver
IN with a non-array Mysql error PHP TypeError
IN with empty array Mysql error Matches nothing, but completes successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant