php - How to work with more than one pivot tables in Laravel? -


i have 4 tables.

orders - pk(order_od)

order_collections - pk(order_collection_id), fk(order_id)

order_collection_products - pk(order_collection_product_id), fk(order_collection_id)

product - pk(product_id)

laravel documentation explains how data using 1 pivot table. how can data product table related specifyc order? how can use 2 pivot tables?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -