jmoiron/sqlx
general purpose extensions to golang's database/sql observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4965
- days_rel: n/a
- days_push: 748
- n_releases_24m: 0
Adoption not part of the score
17724 stars · 1116 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
sqlx is a Go library providing general-purpose extensions to the standard database/sql package. It adds struct/map scanning, named parameters, and convenience helpers like Get and Select while remaining a superset of the standard interfaces.
Use cases
- scan sql rows into go structs
- run queries with named parameters in go
- quickly map query results to slices of structs
- extend database/sql without rewriting existing code
- do batch insertions with sqlx.In
- wrap database/sql handles with drop-in replacements
When to choose
- you use database/sql and want struct scanning and named params without a full ORM
- you need drop-in compatibility with existing database/sql code
- you want a lightweight, well-established SQL helper library for Go
When to avoid
- you want a full ORM with migrations, associations, and query building
- you need automatic handling of ambiguous join column names
- you prefer code-generation-based database access layers
Facets
library · maturity stable
database orm serialization databases backend developer-tools go cross-platform database-sql sql struct-scanning named-parameters go
2 sources
- readme: https://github.com/jmoiron/sqlx · fetched 2026-08-28 · bbd062afd891
- homepage: http://jmoiron.github.io/sqlx/ · fetched 2026-08-29 · eb089a358e38
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jmoiron/sqlx | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem