# Go SQL and transactions

> Writes Go database code with sound pooling, transactions, migrations and sqlc, GORM or ent for safe queries.

- Page: https://youraiskill.com/skill/eduardo-sl-go-database
- What it does: Database patterns for Go services: database/sql, connection management, transactions, migrations, query builders, and ORM usage (sqlc, GORM, ent). Use when: "database access", "SQL query", "connection pool", "transactions", "database migration", "sqlc", "GORM", "ent", "prepared statement", "repository pattern". Not for: in-memory structures (go-data-structures), SQL security (go-security-audit), query profiling (go-performance-review).
- Niches: backend
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (6 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
