7 lines
331 B
Plaintext
7 lines
331 B
Plaintext
---
|
|
description: Specifies the preferred asynchronous database libraries and interaction patterns for FastAPI applications.
|
|
globs: **/db/**/*.py
|
|
---
|
|
- Async database libraries like asyncpg or aiomysql.
|
|
- SQLAlchemy 2.0 (if using ORM features).
|
|
- Minimize blocking I/O operations; use asynchronous operations for all database calls. |