DB Insert Timing - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: DB Insert Timing (/showthread.php?tid=86156) Pages:
1
2
|
RE: DB Insert Timing - kenjis - 01-18-2023 $useTimestamps is a property in Model. See https://codeigniter4.github.io/CodeIgniter4/models/model.html#configuring-your-model I recommend you read the user guide. It explains a lot of things you need to know. RE: DB Insert Timing - SoccerGuy3 - 01-27-2023 (01-18-2023, 06:04 PM)kenjis Wrote: $useTimestamps is a property in Model. 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? |