Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
unrealhoang
2y ago
0 comments
Save
Share
TFA is using raw SQL (via sqlc) if you read carefully. And no, raw SQL doesn't get rid of N+1 issues.
0 comments
2 comments · 1 top-level
top
newest
oldest
dventimi
2y ago
· 1 in thread
PostgREST for instance avoids the alleged problem by generating a single SQL statement. So does Hasura, PostGraphile, and probably Prisma for that matter.
sgarland
2y ago
Prisma “avoids” problems (at least until recently) by just doing SELECT * UNION ALL SELECT *… and then handling joins internally. Utter madness.
1 more reply
j
/
k
navigate · click thread line to collapse