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

DmlStatement should show result set of THEN RETURN #151

Closed
apstndb opened this issue Mar 24, 2023 · 1 comment · Fixed by #152
Closed

DmlStatement should show result set of THEN RETURN #151

apstndb opened this issue Mar 24, 2023 · 1 comment · Fixed by #152
Labels
enhancement New feature or request

Comments

@apstndb
Copy link
Collaborator

apstndb commented Mar 24, 2023

Currently, spanner-cli doesn't show result sets of DmlStatement.
UPDATE, INSERT, and DELETE with a THEN RETURN clause return result sets so it is better to support.

We can't use rwTxn.Update* and need to use rwTxn.Query*.
https://cloud.google.com/spanner/docs/dml-tasks?hl=en#client-library-dml-return

@apstndb apstndb added the enhancement New feature or request label Mar 24, 2023
@yfuruyama
Copy link
Collaborator

cc: @takabow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants