sqlex
Cross-database Go SQL wrapper with hooks and JSON types
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install sqlex?โผ
Run `npx skills add go-sqlex/sqlex --all -g -y` in your terminal to install this skill globally.
How to migrate from sqlx to sqlex?โผ
Just change the import path from jmoiron/sqlx to go-sqlex/sqlex and update go.mod. All existing sqlx code keeps working without changes.
Does sqlex work with PostgreSQL and MySQL?โผ
Yes. You write queries with the ? placeholder once, and sqlex automatically converts them for PostgreSQL, MySQL, SQLite, and SQL Server.
What bugs does sqlex fix from sqlx?โผ
It fixes over 20 known sqlx issues, including data corruption with RawBytes, panics on nil values, silent row loss in batch inserts, and broken named queries on PostgreSQL.
Can I add logging or tracing to SQL queries?โผ
Yes. The built-in hook system lets you register interceptors for logging, metrics, and tracing globally or per individual query call.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core