How to get data after saving the model |
(01-28-2022, 10:53 AM)davis.lasis Wrote:(01-27-2022, 07:41 AM)Seva Wrote: Created_at, updated_at this is what i want to get.You should read about entities: https://codeigniter4.github.io/CodeIgnit...ities.html I do everything as you wrote, but fields id, created_at, updated_at of entity return is empty when saving the model (insert/update) PHP Code: $userModel = new UserModel(); |
Messages In This Thread |
How to get data after saving the model - by Seva - 01-27-2022, 01:26 AM
RE: How to get data after saving the model - by castle - 01-27-2022, 04:39 AM
RE: How to get data after saving the model - by davis.lasis - 01-27-2022, 05:15 AM
RE: How to get data after saving the model - by Seva - 01-27-2022, 07:41 AM
RE: How to get data after saving the model - by davis.lasis - 01-28-2022, 10:53 AM
RE: How to get data after saving the model - by Seva - 01-28-2022, 10:50 PM
RE: How to get data after saving the model - by Seva - 01-27-2022, 11:29 AM
|