PostgreSQL Query Patterns
Provides optimized PostgreSQL query patterns and best practices for robust database operations.
This skill equips Claude with a comprehensive library of PostgreSQL-specific implementation patterns, ranging from standard CRUD operations to advanced features like JSONB manipulation, recursive CTEs, and full-text search. It ensures that generated SQL code follows performance best practices, handles conflicts gracefully with UPSERT logic, and leverages PostgreSQL's unique data types and window functions for sophisticated data analysis and application logic. It is an essential tool for developers building data-intensive applications who need reliable, production-ready database interactions.
주요 기능
01Complex data manipulation using Common Table Expressions (CTEs) and recursive queries
02Full-text search implementation and PostgreSQL-specific array operations
036 GitHub stars
04Advanced CRUD patterns with UPSERT (ON CONFLICT) and RETURNING clauses
05Native JSONB operations for semi-structured data management and indexing
06Analytical window functions for ranking, running totals, and moving averages
사용 사례
01Building high-performance data access layers for backend web applications
02Implementing complex hierarchical data structures and category trees using recursive queries
03Developing efficient application search features using native PostgreSQL full-text search capabilities