3 ms·
I was reading through the 'where' cases to see how complex queries are composed. I couldn't find any examples. e.g. WHERE id IN (<subquery>) if I built up <
by karmakaze 6y ago
I was reading through the 'where' cases to see how complex queries are composed. I couldn't find any examples. e.g.
WHERE id IN (<subquery>)
if I built up <subquery> using the ORM.
The other uncommon thing I look for is eliminating N+1 not just based on a given query and related entities, but given a starting collection and loading their related entities and further related entities.
Icing is if it can do all the above while making intermediate results asynchronously available as it works through it all.