Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

add support for IN (NULL) for empty value-set #356

Merged
merged 2 commits into from
Dec 31, 2019

Conversation

pine3ree
Copy link
Contributor

Calling $expression->in($identifier, []) results in an invalid SQL string.
For an empty valueSet we should return a never-satisfied (IVL) condition string such as (NULL).

@michalbundyra michalbundyra added this to the 2.11.0 milestone Dec 31, 2019
michalbundyra added a commit that referenced this pull request Dec 31, 2019
add support for `IN (NULL)` for empty value-set
michalbundyra added a commit that referenced this pull request Dec 31, 2019
michalbundyra added a commit that referenced this pull request Dec 31, 2019
@michalbundyra michalbundyra merged commit 973a349 into zendframework:develop Dec 31, 2019
@michalbundyra
Copy link
Member

Thanks, @pine3ree!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants