Unknown column in order clause |
I think you just need to tell CI the name of your primary key. The default is “id” when you don’t set a specific name: https://codeigniter4.github.io/userguide...your-model
PHP Code: protected $primaryKey = 'game_id';
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Unknown column in order clause - by antoniocapuozzo - 07-01-2019, 12:21 AM
RE: Unknown column in order clause - by includebeer - 07-01-2019, 06:08 AM
RE: Unknown column in order clause - by antoniocapuozzo - 07-01-2019, 07:04 AM
|