I need to increment by one the active_id for specific object for example if I create a new item its id will be 4 I need this id to take 4+1 and to be saved in the database as 5
How can I do it using the def create function??
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/15/16, 10:37 AM|
|Seen: 122 times|
|Last updated: 8/15/16, 11:03 AM|