Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support returning for DeleteStatement #120

Closed
MuhannadAlrusayni opened this issue Aug 31, 2021 · 1 comment · Fixed by #136
Closed

Support returning for DeleteStatement #120

MuhannadAlrusayni opened this issue Aug 31, 2021 · 1 comment · Fixed by #136
Labels
good first issue Good for newcomers

Comments

@MuhannadAlrusayni
Copy link
Contributor

Hi, i'm trying to write delete statement that return deleted rows:

delete from sessions
where id = any($1::uuid[])
returning id, account, expire_at, created_at

and it seems that DeleteStatement missing returning method.

Although I can find returning method for InsertStatement and UpdateStatement.

@tyt2y3
Copy link
Member

tyt2y3 commented Sep 13, 2021

#66 is a good example

MuhannadAlrusayni added a commit to MuhannadAlrusayni/sea-query that referenced this issue Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants