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

Add returning * clause to update/delete #359

Closed
ddorian opened this issue Jul 5, 2018 · 4 comments
Closed

Add returning * clause to update/delete #359

ddorian opened this issue Jul 5, 2018 · 4 comments
Labels
kind/new-feature This is a request for a completely new feature

Comments

@ddorian
Copy link
Contributor

ddorian commented Jul 5, 2018

Hi,

From docs it's not available, right ?
It will convert update/delete from non-reading to reading but better than doing 2 queries.

Regards,
ddorian

@kmuthukk kmuthukk added the kind/new-feature This is a request for a completely new feature label Jul 6, 2018
@kmuthukk
Copy link
Collaborator

kmuthukk commented Jul 6, 2018

Hi @ddorian

Yes, will certainly look into adding RETURNING clause like in traditional databases to avoid need for a subsequent round-trip/query.

regards,
Kannan

@kmuthukk
Copy link
Collaborator

kmuthukk commented Jul 6, 2018

In terms of prioritization, is it a nice to have for you, or are you looking for this in the near term @ddorian ?

@ddorian
Copy link
Contributor Author

ddorian commented Jul 6, 2018

I'm looking for this. It will be needed by #347 too I think, right ?

@ddorian
Copy link
Contributor Author

ddorian commented Jul 21, 2019

Fixed in YSQL.

@ddorian ddorian closed this as completed Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/new-feature This is a request for a completely new feature
Projects
None yet
Development

No branches or pull requests

2 participants