FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: add a README section for the autoincremented ids by IlyaFaer · Pull Request #180 · googleapis/python-spanner-sqlalchemy · GitHub

This repository was archived by the owner on May 14, 2026. It is now read-only.

docs: add a README section for the autoincremented ids - #180

Merged
skuruppu merged 1 commit into
mainfrom
IlyaFaer-patch-1
Dec 24, 2021
Merged

docs: add a README section for the autoincremented ids#180
skuruppu merged 1 commit into
mainfrom
IlyaFaer-patch-1

Conversation

IlyaFaer commented Dec 23, 2021
edited
Loading

Copy link
Copy Markdown

Closes #176

IlyaFaer added the documentation Improvements or additions to documentation label Dec 23, 2021
IlyaFaer requested a review from skuruppu December 23, 2021 10:59
product-auto-label Bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Dec 23, 2021
Comment thread README.md
```

### Autoincremented IDs
Cloud Spanner doesn't support autoincremented IDs mechanism due to performance reasons ([see for more details](https://cloud.google.com/spanner/docs/schema-design#primary-key-prevent-hotspots)). Though it's not encouraged to do so, in case you *need* the feature, you can simulate it manually, for example:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Cloud Spanner doesn't support autoincremented IDs mechanism due to performance reasons ([see for more details](https://cloud.google.com/spanner/docs/schema-design#primary-key-prevent-hotspots)). Though it's not encouraged to do so, in case you *need* the feature, you can simulate it manually, for example:
Cloud Spanner doesn't support autoincremented IDs mechanism due to performance reasons ([see for more details](https://cloud.google.com/spanner/docs/schema-design#primary-key-prevent-hotspots)). Though it's not encouraged to do so, in case you *need* the feature, you can simulate it manually as follows:

skuruppu merged commit 4c610ea into main Dec 24, 2021
skuruppu deleted the IlyaFaer-patch-1 branch December 24, 2021 02:32
This file contains hidden or 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support autoincrementing integer IDs in some capacity

2 participants


Back | FazBrowse Home | New Git URL