Skip to content

Support multi-column NOT IN expressions - #776

Open
sya-ri wants to merge 1 commit into
sqldelight:mainfrom
sya-ri:agent/composite-not-in-bind
Open

Support multi-column NOT IN expressions#776
sya-ri wants to merge 1 commit into
sqldelight:mainfrom
sya-ri:agent/composite-not-in-bind

Conversation

@sya-ri

@sya-ri sya-ri commented Jul 28, 2026

Copy link
Copy Markdown

Summary

  • allow optional NOT in multi-column IN expressions
  • cover bind and subquery right-hand sides
  • document the grammar change in the unreleased changelog

Why

SQLDelight can model row-value IN, but the base grammar rejected the symmetric NOT IN form. That blocks composite collection-bind support and otherwise valid row-value queries.

Validation

  • ./gradlew :core:test --tests '*AnsiSqlTests*multi-column-select-in-where*'\n\n## Checklist\n- [x] Added a regression fixture\n- [x] Preserved existing IN behavior\n- [x] Updated CHANGELOG.md

@griffio griffio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested against SqlDelight locally and appears to work correctly.

I can't merge here.

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.

2 participants