Using Update() on primary key named differently than id |
Have you tried using the documentation's suggestion of setting the primaryKey variable?
https://codeigniter.com/user_guide/model...your-model Code: protected $primaryKey = 'other_id_field'; |
Messages In This Thread |
Using Update() on primary key named differently than id - by tomsenner - 05-18-2021, 05:07 AM
RE: Using Update() on primary key named differently than id - by craig - 05-18-2021, 07:19 AM
RE: Using Update() on primary key named differently than id - by tomsenner - 05-18-2021, 07:22 AM
|