You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2026. It is now read-only.
feat: support AUTO_INCREMENT and IDENTITY columns (#610)
* feat: support AUTO_INCREMENT and IDENTITY columns
Adds support for IDENTITY and AUTO_INCREMENT columns to the Spanner dialect.
These are used by default for primary key generation. By default, IDENTITY
columns using a backing bit-reversed sequence are used for primary key
generation.
The sequence kind to use can be configured by setting the attribute
default_sequence_kind on the Spanner dialect.
The use of AUTO_INCREMENT columns instead of IDENTITY can be configured
by setting the use_auto_increment attribute on the Spanner dialect.
* test: add system test + fix conformance 1.3 test
* docs: add sample and update README
* chore: minor cleanup
Copy file name to clipboardExpand all lines: README.rst
+17-23Lines changed: 17 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,29 +293,23 @@ This, however, may require to manually repeat a long list of operations, execute
293
293
294
294
In ``AUTOCOMMIT`` mode automatic transactions retry mechanism is disabled, as every operation is committed just in time, and there is no way an ``Aborted`` exception can happen.
295
295
296
-
Auto-incremented IDs
297
-
~~~~~~~~~~~~~~~~~~~~
298
-
299
-
Cloud Spanner doesn't support autoincremented IDs mechanism due to
0 commit comments