May 4, 2016
0
Level 1
Issue get table with multiple pivot
Hello Guys,
Here is my design database:
-
Booking: id, status, transaction
-
BookingItemOfferPair: id, booking_id, item_offer_pair_id
-
Item: id, name, description
-
ItemOfferPair: id, item_id, price
-
Offer: id, name
Now I want to get booking info from Item Model, how to do this?
Thank you so much
Please or to participate in this conversation.