3 ms·
Without two phases: figure out what you need for the resource, execute query, how can you avoid N+1 problem, raw sql or not.
by ec109685 2y ago
Without two phases: figure out what you need for the resource, execute query, how can you avoid N+1 problem, raw sql or not.
- sgarland 2y agoRecursive CTEs, LEFT JOINs, Stored Procedures…