DEV Community


Answer: Null is given when trying to find data from pivot table

Phạm Đức Huy
・1 min read

Since it is a Many to Many relationships, you have Users attached to many Wallets, and Wallets attach to many Users. For each relation between a single Wallet and a single User: you have a pivot value (pivot relation). From your query, you'll retrieve Wallet with Users, each user's…

Discussion (0)