A check if model has anything to update |
(04-18-2022, 04:31 PM)kenjis Wrote: Entity represents a single database row.CodeIgniter's documentation says something different, please take a look at Using Entity Classes → Entity Usage → Filling Properties Quickly Quote from manual: Quote:when saving through the model, only the fields in $allowedFields will actually be saved to the database, so you can store additional data on your entities without worrying much about stray fields getting saved incorrectly Does it mean documentation isn't accurate there? |
Messages In This Thread |
A check if model has anything to update - by rmilecki - 04-17-2022, 02:20 PM
RE: A check if model has anything to update - by kenjis - 04-17-2022, 06:09 PM
RE: A check if model has anything to update - by rmilecki - 04-17-2022, 09:37 PM
RE: A check if model has anything to update - by kenjis - 04-17-2022, 11:12 PM
RE: A check if model has anything to update - by rmilecki - 04-17-2022, 11:15 PM
RE: A check if model has anything to update - by kenjis - 04-17-2022, 11:46 PM
RE: A check if model has anything to update - by rmilecki - 04-18-2022, 02:06 AM
RE: A check if model has anything to update - by kenjis - 04-18-2022, 04:31 PM
RE: A check if model has anything to update - by rmilecki - 04-19-2022, 02:45 AM
RE: A check if model has anything to update - by kenjis - 04-19-2022, 03:29 AM
RE: A check if model has anything to update - by rmilecki - 04-19-2022, 04:38 AM
|