• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
It is required that the primary_key be called "id"?

#3
(08-19-2018, 11:42 AM)kilishan Wrote: If your table has a different primary key, then set the value of $primaryKey in the Model class that you're using  (i.e. UserModel) and it should all work fine.

oh thank you very much, by the way that is in the documentation? in case it was not good that this. I asked the question because I am developing a lib of Crud generator for ci4 ..
Reply


Messages In This Thread
RE: It is required that the primary_key be called "id"? - by cjam - 08-19-2018, 11:54 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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