Is there a reason why the output of fetching a table with a many-to-many relation (or any other form of relation) lacks the relation's primary id? For instance if one has a user wish can have multiple roles and you try and fetch a specific user with all it roles. The roles data does not contain the Primary Id of the specific role. Is there a way to still get those Primary Ids in the data?
Is there a reason why the output of fetching a table with a many-to-many relation (or any other form of relation) lacks the relation's primary id? For instance if one has a user wish can have multiple roles and you try and fetch a specific user with all it roles. The roles data does not contain the Primary Id of the specific role. Is there a way to still get those Primary Ids in the data?