Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

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.