2 ms·
Forgive me if I’m missing something here, but joins seem pretty much the only way to do performant foreign key filtering to me. Is this not what you were talki
by Aeolun 8y ago
Forgive me if I’m missing something here, but joins seem pretty much the only way to do performant foreign key filtering to me.
Is this not what you were talking about?
- kilburn 8y agoIt wasn't my question, but I would assume the caveat they were complaining about is that prisma forced them to perform the join when filtering the original table by just the foreign key (think select * from books where author_id = ? ... no join to aauthors needed here, but some ORMs do that join anyways)