> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# prisma-read-modify-write

> A Prisma read feeds a numeric update of the same row, losing concurrent updates.

## What it flags

A direct read of one row feeds a numeric update of the same field and key.

## How to review or fix

Review atomic arithmetic, an optimistic version check or serializable execution with retries.

## Configuration

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

```json theme={null}
{
  "rules": { "prisma-read-modify-write": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.