Welcome Guest, Not a member yet? Register   Sign In
Hot to get ID of record inserted using model "save()" method
#3

(11-20-2019, 09:53 AM)MGatner Wrote: Oops, just read your final comment! You should be able to access $model->db because the model class has a magic __get() method to pass through.

Unfortunately it doesn't seem accessible.
Reply


Messages In This Thread
RE: Hot to get ID of record inserted using model "save()" method - by RobT - 11-20-2019, 10:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB