Hi,
I know that if I can set the value for the $primaryKey protected field in my model in order to tell Laravel what is the model's primary key. This works well if the primary key is just one column in the database table.
What do I need to do if the table has multiple columns which should act as a primary key? How do I tell the model about it?
Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community