Implement SQLAlchemy for:
Models: ${{MODEL_DEFINITIONS}}
Relationships: ${{RELATIONSHIPS}}
Queries needed: ${{QUERY_PATTERNS}}
Implement:
- Model definitions
- Relationship mapping
- Query optimization
- Session management
- Migrations (Alembic)
- Connection pooling
- Async support
- Testing patternsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{MODEL_DEFINITIONS][{RELATIONSHIPS][{QUERY_PATTERNS]