Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow DELETED and INSERTED keywords as identifiers outside OUTPUT clauses#2386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge7 commits intodevelop
base:develop
Choose a base branch
Loading
fromcopilot/limit-deleted-keyword-impact
Draft
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Add comments explaining Column rule ordering and casing
Co-authored-by: mathiasrw <1063454+mathiasrw@users.noreply.github.com>
  • Loading branch information
@mathiasrw
Copilot andmathiasrw committedDec 17, 2025
commite3620e6b53517907384acef576d34425802bead4
4 changes: 4 additions & 0 deletionssrc/alasqlparser.jison
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1245,6 +1245,8 @@ Star
Column
: Literal DOT Literal DOT Literal
{ $$ = new yy.Column({columnid: $5, tableid: $3, databaseid:$1});}
// INSERTED/DELETED DOT Literal must come before Literal DOT Literal
// to match OUTPUT clause pseudo-tables (INSERTED.*, DELETED.*)
| INSERTED DOT Literal
{ $$ = new yy.Column({columnid: $3, tableid: 'INSERTED'});}
| DELETED DOT Literal
Expand All@@ -1255,6 +1257,8 @@ Column
{ $$ = new yy.Column({columnid: $3, tableid: $1});}
| Literal DOT AT Literal
{ $$ = new yy.Column({columnid: '@'+$4, tableid: $1});}
// Standalone INSERTED/DELETED are treated as regular identifiers (lowercase)
// when not followed by DOT, allowing use as column/table names
| INSERTED
{ $$ = new yy.Column({columnid: 'inserted'});}
| DELETED
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp