# Go database access

> Writes safe Go database code with parameterised queries, transactions and pooling, so data stays correct.

- Page: https://youraiskill.com/skill/samber-golang-database
- What it does: Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL, MariaDB, MySQL, or SQLite; for database testing; or for questions about database/sql, sqlx, or pgx. Does NOT generate database schemas or migration SQL.
- Niches: backend, coding
- 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
