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

rohan_mhz's avatar

Retrieve data from mapper table

how do i get needed data using the mapper table?? I have 3 tables

  1. packages
  2. package_tags
  3. package_map_tags

I have assigned foreign keys in mapper table and now I want to retrieve all packages which are related to tag_id 4. I am new to this, can anybody give me some tips on how to achieve this? thank you

0 likes
0 replies

Please or to participate in this conversation.