Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2345 Vizualizări

Hello,

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??

Thanks

Imagine profil
Abandonează