What problem does it solve?
The qb skill removes the complexity and risk of writing raw SQL by providing a fluent, parameterized query builder that produces safe, portable SQL across different database engines and prevents SQL injection.
Core Features & Use Cases
- Query composition: chainable select/from/where/join/group/order/limit clauses, aggregates, and subqueries for complex reads.
- Mutations and batching: safe inserts, updates, deletes, bulk inserts, pagination, and chunked processing for large datasets.
- Cross-database portability: configurable grammars for MySQL, Postgres, MSSQL, and SQLite and support for raw expressions when necessary.
- Use cases include building REST API data access layers, background job batch-processing, and analytics queries that must run against different SQL dialects.
Quick Start
Use the qb skill to build a parameterized select query returning id, name, and email from the users table filtered by isActive.