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

ID auto increment #36

Open
qmc1020 opened this issue May 15, 2020 · 1 comment
Open

ID auto increment #36

qmc1020 opened this issue May 15, 2020 · 1 comment

Comments

@qmc1020
Copy link

qmc1020 commented May 15, 2020

Do we have id auto increment?

@aeifr
Copy link

aeifr commented May 29, 2020

So far not.
A JPA like auto incrementation is not present so far.
At the moment a default ID algorithm is used - UUIDs.
An ID logic would require a sequence store.
Could be implemented. If the demand is high, you could implemented it yourself and create a pull request.
On my end the need is not given (not involved so far in this project).

My idea:
A JPA like sequence generator per collection. Should kinda be easy. And not heavly impacting the perfomance if done right.

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

No branches or pull requests

3 participants