HomePhorge

Add an abstraction for preventing the 1+N queries problem

Description

Add an abstraction for preventing the 1+N queries problem

Summary:
Our code is quite complex in areas where we prevents the 1+N queries problem explained in a performance chapter.

This diff adds an abstraction for preventing this code.

Test Plan:
Run all examples mentioned in the doc-comments with logging the queries.
Generate and read docs.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2557

Details

Provenance
vranaAuthored on May 23 2012, 2:05 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP1377d349e1ad: Use first diff author for summary and test plan in commandeered revisions
Branches
Unknown
Tags
Unknown

Event Timeline