Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nice to have: support for identity primary key columns #58

Open
jpallas opened this issue May 24, 2021 · 0 comments
Open

Nice to have: support for identity primary key columns #58

jpallas opened this issue May 24, 2021 · 0 comments

Comments

@jpallas
Copy link
Contributor

jpallas commented May 24, 2021

Using PK sequences is error prone, as nothing prevents the user from accidentally specifying the wrong sequence in a call to argPkSeq. Identity columns are supported by almost all of the databases.

On the insert side, the API might be insertReturningPkDefault(columnName). For Schema, maybe have primaryKeyDefaultIdentity or just primaryKeyIdentity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant