V
V
Vanya Huk2017-08-12 22:11:25
ORM
Vanya Huk, 2017-08-12 22:11:25

How to make haswManyTrougth request in orm laravel?

How to link tables through relationships with this structure:
there are 2 tables products and analogs
in the analogs table there is product_id and analog_id where product_id and analog_id refer to the products table

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrzej Wielski, 2017-08-13
@vanyahuk

https://laravel.com/docs/5.4/eloquent-relationship...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question