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

Get the last inserted id #6

Open
CrochetFeve0251 opened this issue Jan 4, 2022 · 1 comment
Open

Get the last inserted id #6

CrochetFeve0251 opened this issue Jan 4, 2022 · 1 comment

Comments

@CrochetFeve0251
Copy link

CrochetFeve0251 commented Jan 4, 2022

When using Doctrine the convention is to set the Id in the Entity but that doesn't look to be the case in the library.
Moreover there is no way to get it from the manager too.
So i was thinking how we can get the last inserted ID from this library that looks like copying Doctrine logic?

@rjjakes
Copy link
Owner

rjjakes commented Oct 27, 2022

When using Doctrine the convention is to set the Id in the Entity but that doesn't look to be the case in the library. Moreover there is no way to get it from the manager too. So i was thinking how we can get the last inserted ID from this library that looks like copying Doctrine logic?

I'm open to suggestions @CrochetFeve0251

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

2 participants