Welcome Guest, Not a member yet? Register   Sign In
Prevent double insert at same time
#15

Because something isn't working correctly.

I was referring to the general idea. If you have to check if a record with the same data has not been added at the same time, then something is not working as it should.
If you really have to do this (for whatever reason), you should probably add a unique index to fields (user_id+created_at).
Reply


Messages In This Thread
RE: Prevent double insert at same time - by cha - 01-16-2025, 02:24 AM
RE: Prevent double insert at same time - by michalsn - 01-23-2025, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB