Welcome Guest, Not a member yet? Register   Sign In

(This post was last modified: 05-15-2023, 03:31 AM by SubrataJ.)

hey yall,  I just noticed a weird behavior while using the upsert method auto-increment value keeps on incrementing even if it's just updating data.

for example, If I insert a record through Upsert and later update the existing data 2 times, the following insert id will be 4 for the new record.
is there any way we can stop this?
Learning Codeigniter 

Messages In This Thread
Upsert - by SubrataJ - 05-15-2023, 03:23 AM
RE: Upsert - by iRedds - 05-24-2023, 12:57 AM
RE: Upsert - by Muzikant - 05-31-2023, 01:32 AM
RE: Upsert - by Muzikant - 06-14-2023, 02:05 AM

Theme © iAndrew 2016 - Forum software by © MyBB