Welcome Guest, Not a member yet? Register   Sign In
Multiple primary keys for protected $primaryKey
#1

(This post was last modified: 10-05-2019, 09:56 AM by bustersg.)

PHP Code:
protected $primaryKey 'priKey1'// normal for a table having 1 pri key 

I have a combination of 3 pri key
Then how should I declare it?

PHP Code:
protected $primaryKey 'priKey1, priKey2, priKey3'// don't think this is correct
protected $primaryKey = array('priKey1''priKey2''priKey3'); // ci4 online help document does not show it to be this way 
Reply


Messages In This Thread
Multiple primary keys for protected $primaryKey - by bustersg - 10-05-2019, 09:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB