This skill provides expert guidance for leveraging SQLAlchemy 2.0+ to build robust, high-performance database layers for customer support and enterprise systems. It covers modern declarative mapping, sophisticated relationship patterns, and advanced session management for both synchronous and asynchronous environments. Developers can utilize its patterns for complex query optimization, eager loading to prevent N+1 issues, and deep integration with frameworks like FastAPI and PostgreSQL, ensuring data integrity and scalable performance in production-grade backend engineering.
主な機能
01Advanced relationship patterns including many-to-many association tables
02Optimized session management for synchronous and asynchronous applications
03Modern SQLAlchemy 2.0+ declarative mapping with type hints
04Eager loading techniques like joinedload and selectinload to eliminate N+1 issues
05Complex analytical aggregation and multi-filter search implementation
0617 GitHub stars
ユースケース
01Building high-concurrency ticketing and support systems with FastAPI
02Implementing complex data curation and bulk operations with proper session handling
03Creating analytics dashboards with optimized database aggregation queries