Welcome Guest, Not a member yet? Register   Sign In
Model with joined tables
#1

Hi
How should I work with model data that is stored in several tables as intended by the framework?
Should I override the save method in the main Model and write data in my code?
Or should I create additional models for all related tables? With this approach, should I save / read nested models by overriding the save method or work with them separately from the controller?
Reply


Messages In This Thread
Model with joined tables - by Mni.day - 12-06-2022, 02:07 PM
RE: Model with joined tables - by InsiteFX - 12-08-2022, 12:40 AM
RE: Model with joined tables - by Mni.day - 12-08-2022, 09:01 AM
RE: Model with joined tables - by Mni.day - 12-15-2022, 02:09 AM
RE: Model with joined tables - by groovebird - 12-15-2022, 02:40 AM
RE: Model with joined tables - by Mni.day - 12-15-2022, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB