GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — #1527 DELETE ... RETURNING ... by manticore-projects · Pull Request #1528 · JSQLParser/JSqlParser

Conversation

@manticore-projects

@manticore-projects manticore-projects commented May 6, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #1527
Add DELETE... RETURNING ... expression
Simplify INSERT ... RETURNING ... expression
Simply UPDATE ... RETURNING ... expression

Fixes dbeaver/dbeaver#15946

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@manticore-projects
JSQLParser#1527 DELETE ... RETURNING ...
32eba58
Fixes JSQLParser#1527
Add DELETE... RETURNING ... expression
Simplify INSERT ... RETURNING ... expression
Simply UPDATE ... RETURNING ... expression
@manticore-projects manticore-projects mentioned this pull request May 6, 2022
Confirm dangerous query execution doesn't work when there's a RETURNING clause in a DELETE statement dbeaver/dbeaver#15946
Closed
manticore-projects added 2 commits May 7, 2022 19:31
@manticore-projects
TSQL Output Clause
eb85aa5
According to https://docs.microsoft.com/en-us/sql/t-sql/queries/output-clause-transact-sql?view=sql-server-ver15
Implement Output Clause for INSERT, UPDATE and DELETE
Add Tests according the Microsoft Documentation
@manticore-projects
Appease Codacy/PMD
ceee74f
@manticore-projects
manticore-projects requested a review from wumpz May 7, 2022 17:33
@wumpz
wumpz merged commit 4d81521 into JSQLParser:master May 11, 2022
@manticore-projects
manticore-projects deleted the #1527_DeleteReturningExpression branch May 12, 2022 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@wumpz wumpz Awaiting requested review from wumpz

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support "Returning" part of DELETE statement. Confirm dangerous query execution doesn't work when there's a RETURNING clause in a DELETE statement

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@manticore-projects @wumpz
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.