Commit ee09805
feat: Add last statement option samples (#16499)
This adds a sample for the last statement option. Support for the option
was added in #1313 by @olavloite.
---------
Co-authored-by: Shirdon Gorse <shirdon@google.com>1 parent 7bb29e5 commit ee09805Copy full SHA for ee09805
4 files changed
+85-3Lines changed: 85 additions & 3 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/google-cloud-spanner/samples/samples
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/google-cloud-spanner/samples/samples/pg_snippets.py
Copy file name to clipboardExpand all lines: packages/google-cloud-spanner/samples/samples/pg_snippets.py+35-1Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1080 | 1080 | |
1081 | 1081 | |
1082 | 1082 | |
| 1083 | + |
| 1084 | + |
| 1085 | + |
| 1086 | + |
| 1087 | + |
| 1088 | + |
| 1089 | + |
| 1090 | + |
| 1091 | + |
| 1092 | + |
| 1093 | + |
| 1094 | + |
| 1095 | + |
| 1096 | + |
| 1097 | + |
| 1098 | + |
| 1099 | + |
| 1100 | + |
| 1101 | + |
| 1102 | + |
| 1103 | + |
| 1104 | + |
| 1105 | + |
| 1106 | + |
| 1107 | + |
| 1108 | + |
| 1109 | + |
| 1110 | + |
| 1111 | + |
1083 | 1112 | |
1084 | 1113 | |
1085 | 1114 | |
| ||
1768 | 1797 | |
1769 | 1798 | |
1770 | 1799 | |
1771 | | - |
| 1800 | + |
1772 | 1801 | |
1773 | 1802 | |
1774 | 1803 | |
| ||
1796 | 1825 | |
1797 | 1826 | |
1798 | 1827 | |
| 1828 | + |
| 1829 | + |
| 1830 | + |
1799 | 1831 | |
1800 | 1832 | |
1801 | 1833 | |
| ||
1898 | 1930 | |
1899 | 1931 | |
1900 | 1932 | |
| 1933 | + |
| 1934 | + |
1901 | 1935 | |
1902 | 1936 | |
1903 | 1937 | |
|
Collapse file
packages/google-cloud-spanner/samples/samples/pg_snippets_test.py
Copy file name to clipboardExpand all lines: packages/google-cloud-spanner/samples/samples/pg_snippets_test.py+8-1Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
359 | 359 | |
360 | 360 | |
361 | 361 | |
362 | | - |
| 362 | + |
| 363 | + |
| 364 | + |
| 365 | + |
| 366 | + |
| 367 | + |
| 368 | + |
| 369 | + |
363 | 370 | |
364 | 371 | |
365 | 372 | |
|
Collapse file
packages/google-cloud-spanner/samples/samples/snippets.py
Copy file name to clipboardExpand all lines: packages/google-cloud-spanner/samples/samples/snippets.py+34Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2046 | 2046 | |
2047 | 2047 | |
2048 | 2048 | |
| 2049 | + |
| 2050 | + |
| 2051 | + |
| 2052 | + |
| 2053 | + |
| 2054 | + |
| 2055 | + |
| 2056 | + |
| 2057 | + |
| 2058 | + |
| 2059 | + |
| 2060 | + |
| 2061 | + |
| 2062 | + |
| 2063 | + |
| 2064 | + |
| 2065 | + |
| 2066 | + |
| 2067 | + |
| 2068 | + |
| 2069 | + |
| 2070 | + |
| 2071 | + |
| 2072 | + |
| 2073 | + |
| 2074 | + |
| 2075 | + |
| 2076 | + |
| 2077 | + |
2049 | 2078 | |
2050 | 2079 | |
2051 | 2080 | |
| ||
3865 | 3894 | |
3866 | 3895 | |
3867 | 3896 | |
| 3897 | + |
| 3898 | + |
| 3899 | + |
3868 | 3900 | |
3869 | 3901 | |
3870 | 3902 | |
| ||
4033 | 4065 | |
4034 | 4066 | |
4035 | 4067 | |
| 4068 | + |
| 4069 | + |
4036 | 4070 | |
4037 | 4071 | |
4038 | 4072 | |
|
Collapse file
packages/google-cloud-spanner/samples/samples/snippets_test.py
Copy file name to clipboardExpand all lines: packages/google-cloud-spanner/samples/samples/snippets_test.py+8-1Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
705 | 705 | |
706 | 706 | |
707 | 707 | |
708 | | - |
| 708 | + |
| 709 | + |
| 710 | + |
| 711 | + |
| 712 | + |
| 713 | + |
| 714 | + |
| 715 | + |
709 | 716 | |
710 | 717 | |
711 | 718 | |
|
0 commit comments