What it flags
A Prisma or TypeORM lookup by one key is followed in the same function by an insert with the same key, and the schema shows no unique constraint on it.How to review or fix
Add the constraint and catch the violation (Prisma P2002, Postgres 23505) or useupsert / ON CONFLICT. Without a readable schema the finding is contextual; serializable transactions, locks and handled duplicates are skipped.
Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: