naviocean
3 years ago

Issue get table with multiple pivot

Posted 3 years ago by naviocean

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 sign in or create an account to participate in this conversation.