Version 2.1.0

This commit is contained in:
2026-03-09 12:45:52 -04:00
parent a3245d50f0
commit 0cc21d2012
4 changed files with 7 additions and 3 deletions

View File

@@ -89,6 +89,8 @@ await wait_for_row_change(
## Creating a database
!!! info "Added in `v2.1`"
[`create_database`](../reference/db.md#fastapi_toolsets.db.create_database) creates a database at a given URL. It connects to *server_url* and issues a `CREATE DATABASE` statement:
```python
@@ -103,6 +105,8 @@ For test isolation with automatic cleanup, use [`create_worker_database`](../ref
## Cleaning up tables
!!! info "Added in `v2.1`"
[`cleanup_tables`](../reference/db.md#fastapi_toolsets.db.cleanup_tables) truncates all tables:
```python