PostgreSQL for Swift (postgres-nio)
Integrates high-performance PostgreSQL database access into Swift applications using the postgres-nio library.
This skill provides expert guidance for implementing the postgres-nio library in Swift projects, enabling developers to build robust database layers with native async/await support. It covers essential implementation patterns including type-safe query building with string interpolation, efficient connection pooling via PostgresClient, and performance-optimized prepared statements. Developers can leverage this skill to handle everything from simple CRUD operations and custom row decoding to complex transactions and high-speed bulk data loading using the COPY FROM protocol, all while maintaining strict type safety and preventing SQL injection.