IonWarpbotcommented 15 min agoIonWarp Review — PR #422
for (const id of ids) {users.push(await db.user(id))}const users = await db.users({ where: { id: { in: ids } } })
N+1 query in the user listing · API Performance Review
One round-trip per id on a per-request path — the endpoint pays N database hops where a single WHERE IN serves. Batch it.