T
TanStack5w ago
extended-salmon

What is the "recommended" pattern for using many-to-many relationships using a join table

hey - does anyone have collections that define relationships through join tables (lets say serverId | fileId). At the moment I have dedicated collection for that, and join somehow on the client..
2 Replies
useful-bronze
useful-bronze5w ago
Yeah that's generally fine Joining on the client
extended-salmon
extended-salmonOP5w ago
Yeah, thats what im doing - I guess this will be even easier with hierarchical joins (when they land?) --> because I can use the join table to have a user -> posts object

Did you find this page helpful?