You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/reference/transactions.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,23 @@ In the case that this example runs successfully, then both database writes are c
114
114
)
115
115
```
116
116
117
+
## Isolation levels
118
+
119
+
By default, Prisma sets the isolation level to the value currently configured in the database. You can modify this
120
+
default with the `isolation_level` argument (see [supported isolation levels](https://www.prisma.io/docs/orm/prisma-client/queries/transactions#supported-isolation-levels)).
121
+
122
+
!!! note
123
+
Prisma Client Python generates `TransactionIsolationLevel` enumeration that includes only the options supported by the current database.
124
+
125
+
```py
126
+
from prisma import Prisma, TransactionIsolationLevel
0 commit comments