• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple primary keys for protected $primaryKey

#1
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.