The Problem
Fetching a list of posts and then fetching the author for each post in a loop causes the “N+1 Problem”:The Solution
FluxCRUD integrates the DataLoader pattern to batch these requests automatically.Usage
Userepo.get_many_by_ids():
Solving the N+1 select problem
repo.get_many_by_ids():