Skip to main content

What it flags

Per-item queries.

How to review or fix

Consider a parameterized set query, relation load or bulk write if ordering and transaction behavior permit it. Prisma can already batch compatible findUnique calls. Contextual findings flag writes that consume an earlier awaited result or whose returned row feeds a later awaited operation for the same item. Review those dependencies and the ordering of side effects before changing the loop.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: