Welcome Guest, Not a member yet? Register   Sign In
Model return id record
#3

What @InsiteFX said. Also if you do your insert through a Model you can use the method `getInsertID()` that will return the last insert handle *by that model*. This can also be returned directly from the insert statement using the second parameter: `$insertID = $model->insert($row, true)`
Reply


Messages In This Thread
Model return id record - by Nome - 06-30-2019, 07:08 AM
RE: Model return id record - by InsiteFX - 06-30-2019, 03:04 PM
RE: Model return id record - by MGatner - 07-02-2019, 06:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB