Raw SQL Expert

•
7
•

Writes and optimizes secure, parameterized raw SQL queries specifically for MariaDB and MySQL environments.

The Raw SQL Expert skill is designed for developers working with MariaDB and MySQL who need to go beyond the limitations of standard ORMs or Query Builders. It prioritizes database security by enforcing strict parameterization to prevent SQL injection and provides domain-specific guidance on performance tuning through EXPLAIN analysis. Whether you are writing complex raw migrations, seeding databases with raw statements, or debugging slow queries, this skill ensures your SQL is efficient, secure, and follows MariaDB-specific syntax conventions.

Características Principales

01Strict enforcement of parameterized queries to prevent SQL injection
02Guidance for raw SQL in migrations and seeders
03MariaDB and MySQL specific syntax validation and patterns
047 GitHub stars
05Identification of performance bottlenecks like N+1 queries and lock contention
06Performance analysis using EXPLAIN for complex query optimization

Casos de Uso

01Writing complex MariaDB migrations that require raw statement execution
02Refactoring vulnerable SQL strings into secure parameterized queries
03Optimizing slow database performance through index analysis and query tuning