Welcome Guest, Not a member yet? Register   Sign In
It is required that the primary_key be called "id"?
#3

(08-19-2018, 10: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, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB