Skip to content

Conversation

@NickCrews
Copy link
Contributor

This is breaking, but probably not for a huge fraction of users (???).

Resolves #11731

@github-actions github-actions bot added tests Issues or PRs related to tests sql Backends that generate SQL labels Nov 21, 2025
@NickCrews NickCrews added the breaking change Changes that introduce an API break at any level label Nov 21, 2025
@NickCrews NickCrews changed the title feat(ddl): disallow inserting by position, require source columns to be ubset of target columns feat(ddl): disallow inserting by position, require source columns to be subset of target columns Nov 21, 2025
@NickCrews
Copy link
Contributor Author

@deepyaman this is related to your upsert PR, if you want to give it a look. I don't think there is any ordering needed between the two, but I do think it would be great if this PR was included in the same release as that PR, so that the .upsert() API never goes through a breaking change.

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

Labels

breaking change Changes that introduce an API break at any level sql Backends that generate SQL tests Issues or PRs related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(breaking): require columns in .insert() to be a subset of the destination columns

1 participant