J
J
JIenpukoH2015-06-17 12:08:11
Laravel
JIenpukoH, 2015-06-17 12:08:11

How to save 2 Primary keys to a table using Eloquent(Laravel5)?

There is a table where there are 2 primary keys id and lang, Table
pH1Aq.png
There is a model $this->instance(
YvmQs.png
) to the line with id = 451 AND lang = rus

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anitspam, 2016-09-13
@anitspam

taylorotwell commented on 26 Jun 2015
I currently have no plans to implement composite key support.
https://github.com/laravel/framework/issues/5355#i...
apparently not yet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question