Welcome Guest, Not a member yet? Register   Sign In
DB Insert Timing
#12

(01-18-2023, 06:04 PM)kenjis Wrote: $useTimestamps is a property in Model.
See https://codeigniter4.github.io/CodeIgnit...your-model

I recommend you read the user guide. It explains a lot of things you need to know.

Both you and the user guide state that the default is false. I posted my Model and I didn't change it, so it should still be false, but when I add the "created_at" field to the model, it puts in the time stamp.

Ignoring that issue/point for a moment, it still doesn't answer my original question. Why do two inserts that happen a minute or more apart use the same CI timestamp value?
Reply


Messages In This Thread
DB Insert Timing - by SoccerGuy3 - 01-16-2023, 03:59 PM
RE: DB Insert Timing - by kenjis - 01-16-2023, 04:49 PM
RE: DB Insert Timing - by SoccerGuy3 - 01-16-2023, 04:59 PM
RE: DB Insert Timing - by kenjis - 01-16-2023, 05:20 PM
RE: DB Insert Timing - by SoccerGuy3 - 01-16-2023, 05:26 PM
RE: DB Insert Timing - by kenjis - 01-16-2023, 09:03 PM
RE: DB Insert Timing - by SoccerGuy3 - 01-17-2023, 10:58 AM
RE: DB Insert Timing - by kenjis - 01-17-2023, 06:37 PM
RE: DB Insert Timing - by SoccerGuy3 - 01-18-2023, 07:33 AM
RE: DB Insert Timing - by InsiteFX - 01-18-2023, 12:22 AM
RE: DB Insert Timing - by kenjis - 01-18-2023, 06:04 PM
RE: DB Insert Timing - by SoccerGuy3 - 01-27-2023, 11:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB