Tag

sqlx

1 views collected around this technical thread.

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.

BackendGoSQL
0 likes · 23 min read
Comprehensive Guide to Using sqlx with Go for Database Operations
JD Cloud Developers
JD Cloud Developers
Mar 14, 2023 · Databases

Secure Rust‑MySQL Connections to TiDB Cloud: Drivers, ORM Examples, and Code

This article demonstrates how to securely connect Rust applications to TiDB Cloud Serverless Tier using various MySQL drivers and ORMs—including rust‑mysql‑simple, sqlx, SeaORM, and Rbatis—providing full code samples, dependency details, and practical insights.

MySQLRustrbatis
0 likes · 13 min read
Secure Rust‑MySQL Connections to TiDB Cloud: Drivers, ORM Examples, and Code
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.

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