Welcome Guest, Not a member yet? Register   Sign In
save() with multiple tables
#2

@yucar,

The approach that I've always have taken is update the base part of the record first then update the related table second but within the same model. Specific criteria are meet which allowed the secondary table to be updated.
Reply


Messages In This Thread
save() with multiple tables - by yucar - 05-08-2020, 11:05 AM
RE: save() with multiple tables - by php_rocs - 05-08-2020, 05:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB