-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support DML with Returning clause in Connection API (#1978)
* feat: incorporate dml with returning clause * feat: changes * feat: change handling of AsyncResultSet. * fix: lint * doc: add comments * fix: lint * test: add tests for executeBatchUpdate * test: import fix * test: remove redundant import * test: add abort tests for dml returning * test: add pg dml returning tests * feat: change error statement * doc: add doc for dml with returning clause usage * Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/ConnectionImpl.java Co-authored-by: Knut Olav Løite <[email protected]> * Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/ConnectionImpl.java Co-authored-by: Knut Olav Løite <[email protected]> * fix: incorporate review comments * test: add more test cases * test: add todo * test: add separate abort tests for dml returning * fix: add try-with-resources block around ResultSet * feat: enhancement by adding a pre-check * feat: changes * test: delete unnecessary test * test: add few more tests to PG parser * feat: method doc update * test: nit fixes * feat: handle another corner case * test: add another test * clirr fixes * revert env for integration tests * remove comments * skip returning tests in emulator * fix: linting Co-authored-by: Knut Olav Løite <[email protected]>
- Loading branch information
1 parent
4840580
commit aac20be
Showing
13 changed files
with
1,150 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.