Answer the question
In order to leave comments, you need to log in
How to correctly implement adding a task with a unique ID?
There are several operators, each of them simultaneously adds tasks to the database. How can I get its id before saving it in the database when creating a task if they are added by auto-increment, and each operator must have a unique id?
I am using crud generator voyager. In the old version, an empty application was created and the page for editing it was opened, and if the operator suddenly canceled the creation or went to another page, then with some crutches the empty application was deleted from the database, there are so many unnecessary extra requests, I think there is some kind of algorithm to avoid this. Who decides to help write the details. Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question