Open
Description
I have an auto incrementing integer field (ID) in postgres db.
Whole creating an object using POST request I have to provide OnInit hook with myself manually handling the values.
Instead the better approach would be to let the db handle the ID generation and give me the newly generated ID for the new object.
Is it possible in the current system?
If yes how?
If no should we add this feature?
Also if no what is the solution for now other than making a db query myself and finding out the largest ID and adding 1 to it?
I have posted a StackOverflow question with more details here: https://stackoverflow.com/q/59734290/1641882