Skip to content

Change behaviour for "$notIn empty array" (fixes #4859) - #4860

Merged
janmeier merged 4 commits into
sequelize:masterfrom
markushedlund:master
May 16, 2016
Merged

janmeier merged 4 commits into
sequelize:masterfrom
markushedlund:master

Conversation

@markushedlund

Copy link
Copy Markdown
Contributor

Makes where: { id: { $notIn: [] } } return all rows instead of none.

@mickhansen

Copy link
Copy Markdown
Contributor

We've discussed this one before. It's definitely a breaking chance, although i'd agree that your fix is probably the right way to go.

/cc @janmeier

@mickhansen mickhansen added the breaking change For issues and PRs. Changes that break compatibility and require a major version increment. label Nov 18, 2015
@janmeier

Copy link
Copy Markdown
Member

Yeah I agree, this is the right way to go

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

Labels

breaking change For issues and PRs. Changes that break compatibility and require a major version increment.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants