Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/connections_and_transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,11 @@ async def create_users(request):
Transaction blocks are managed as task-local state. Nested transactions
are fully supported, and are implemented using database savepoints.

Transaction isolation-level can be specified if the driver backend supports that:

```python
async with database.transaction(isolation="serializable"):
...
```

[starlette]: https://github.com/encode/starlette
2 changes: 0 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ expression language, and provides support for PostgreSQL, MySQL, and SQLite.
Databases is suitable for integrating against any async Web framework, such as [Starlette][starlette],
[Sanic][sanic], [Responder][responder], [Quart][quart], [aiohttp][aiohttp], [Tornado][tornado], or [FastAPI][fastapi].

**Community**: [https://discuss.encode.io/c/databases](https://discuss.encode.io/c/databases)
Comment thread
Kludex marked this conversation as resolved.
Resolved

**Requirements**: Python 3.6+

---
Expand Down