Repository navigation
update on conflict with condition - #735
Merged
Merged
Conversation
|
LGTM |
alamb
approved these changes
Nov 30, 2022
| /// Column assignments | ||
| pub assignments: Vec<Assignment>, | ||
| /// WHERE | ||
| pub selection: Option<Expr>, |
Contributor
There was a problem hiding this comment.
My preference is to call this where to match the SQL more closely -- I will make this change in a follow on PR
Contributor
There was a problem hiding this comment.
Actually, now I see the name selection is consistent with the rest of this crate (e.g. https://github.com/sqlparser-rs/sqlparser-rs/blob/faf75b71613431e66ec22c82e3c9ad6157474458/src/ast/mod.rs#L1139)
I will not make any other changes
Pull Request Test Coverage Report for Build 3573700071
💛 - Coveralls |
Contributor
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #734
refer to:
https://www.postgresql.org/docs/current/sql-insert.html