feat: Add last statement option samples#16499
feat: Add last statement option samples#16499sgorse123 wants to merge 2 commits intogoogleapis:mainfrom
Conversation
Support for the option was added in googleapis#1313 by @olavloite.
|
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
There was a problem hiding this comment.
Code Review
This pull request introduces the dml_last_statement_option function to both standard and PostgreSQL-dialect Spanner snippets, along with corresponding CLI command support and tests. The review feedback identifies a potential logic error in pg_snippets.py where a renamed subparser command may not be correctly handled in the command dispatch logic. Additionally, the reviewer suggested improvements for region tag placement to maintain consistency, fixed typos in docstrings, and recommended cleaning up extra spaces in SQL string concatenations.
Support for the option was added in googleapis#1313 by @olavloite.
This adds a sample for the last statement option. Support for the option was added in #1313 by @olavloite.