TanStackT
TanStack2mo ago
11 replies
worthy-rose

Related data question

I'm trying out db for the first time coming from someone who typically prefers view specific endpoints

What is the suggested pattern for handling a scenario like query posts and the top 10 latest comments for each post?

I get i could do something like postsCollection and postsLatestCommentsCollection but it seems to defeat the purpose of flattening the collections?
Was this page helpful?