Tagged articles

sqlx

4 articles · Page 1 of 1
BirdNest Tech Talk
BirdNest Tech Talk
Aug 25, 2026 · Backend Development

Go database/sql Tutorial: 39 Practical Lessons from Core to ORMs & Tools

This practical Go database/sql tutorial covers 39 lessons spanning core concepts like connection pools, transactions, and isolation levels, compares ORMs (GORM, Bun, XORM) and lightweight tools (sqlx, sqlc, Squirrel), and addresses logging, migration, testing, and production practices using modernc.org/sqlite for runnable examples.

GoORMSQLite
0 likes · 5 min read
Go database/sql Tutorial: 39 Practical Lessons from Core to ORMs & Tools
Go Programming World
Go Programming World
May 21, 2024 · Backend Development

Comprehensive Guide to Using sqlx with Go for Database Operations

This article provides an in‑depth tutorial on the sqlx package for Go, covering installation, type design, database connection methods, query execution, named parameters, transaction handling, prepared statements, unsafe scanning, field‑mapping customization, and practical code examples to simplify working with relational databases.

GoSQLsqlx
0 likes · 23 min read
Comprehensive Guide to Using sqlx with Go for Database Operations
360 Tech Engineering
360 Tech Engineering
Aug 2, 2019 · Backend Development

Idiomatic Query Building in Go: From GORM to a Custom Builder

The article explores the challenges of using GORM for layered query complexity in Go, compares it with sqlx, and proposes an idiomatic, extensible query‑builder design using functional options, complete with example implementations for SELECT, WHERE, and helper functions.

query buildersqlx
0 likes · 11 min read
Idiomatic Query Building in Go: From GORM to a Custom Builder