Summer Sale! All accounts are 50% off this week.

naviocean's avatar

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

0 likes
0 replies

Please or to participate in this conversation.