Skip to main content

What it flags

An awaited numeric Prisma count() with no options or only where is used solely as a zero-or-nonzero test.

How to review or fix

Read one row with the same filter and a small projection when only existence matters.

Configuration

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