I am working with laravel 5.4 and my issue is how to declare a composite key in model. My composite key consists of
A_ID | S_ID
I have already research some other solutions but they weren't clear enough for me to understand.
and as the
model::find
Doesn't work with composite key, what would be the work around that?