github.com/jmoiron/sqlx

sqlx

provides a set of extensions on top of the excellent built-in database/sql package.

76

Decision Signals

Health score 76/100, confidence 65/100.

Strong
Maintenance 38
Adoption 100
Security 92
Maturity 83
Developer DX 89
Confidence 65

Install

go get github.com/jmoiron/sqlx

Package Data

updated May 28, 2026
Latest versionUnknown
Imported by25.6K packages
Stars17.6K
Forks1.1K
Last activity1 years ago
Latest releasev1.4.0 (2 years ago)
LicenseMIT
Known vuln records0

API Surface

172 symbols
SymbolKindSynopsis
ColScanner Type type ColScanner interface{ ... }
ColScanner.Columns Method Columns func() ([]string, error)
ColScanner.Err Method Err func() error
ColScanner.Scan Method Scan func(dest ...interface{}) error
Conn Type type Conn struct{ ... }
Conn.BeginTxx Method func (c *Conn) BeginTxx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
Conn.GetContext Method func (c *Conn) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
Conn.Mapper Field Mapper *reflectx.Mapper
Conn.PreparexContext Method func (c *Conn) PreparexContext(ctx context.Context, query string) (*Stmt, error)
Conn.QueryRowxContext Method func (c *Conn) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *Row
Conn.QueryxContext Method func (c *Conn) QueryxContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
Conn.Rebind Method func (c *Conn) Rebind(query string) string

Maintained Alternatives

limited recent repository activity

#1 dgraph

high-performance graph database for real-time use cases

Go ORM Libraries 21.7K stars 0 imported-by 100% confidence
95

#2 Ent

Package ent is the interface between end-user schemas and entc (ent codegen).

Go ORM Libraries 17.1K stars 4.0K imported-by 100% confidence
95

#3 GORM

Developer-friendly ORM library for Go.

Go ORM Libraries 39.8K stars 0 imported-by 80% confidence
91

#4 etcd

Package main is a simple wrapper of the real etcd entrypoint package (located at github.com/coreos/etcd/etcdmain) to ensure that etcd is still "go getable"; e.g.

Go ORM Libraries 51.7K stars 0 imported-by 80% confidence
89

#5 tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Go ORM Libraries 40.1K stars 0 imported-by 80% confidence
89

#6 dolt

Dolt – Git for Data

Go ORM Libraries 22.9K stars 0 imported-by 65% confidence
89

Similar Packages

Go ORM Libraries

#1 dgraph

high-performance graph database for real-time use cases

Go ORM Libraries 21.7K stars 0 imported-by 100% confidence
95

#2 Ent

Package ent is the interface between end-user schemas and entc (ent codegen).

Go ORM Libraries 17.1K stars 4.0K imported-by 100% confidence
95

#3 GORM

Developer-friendly ORM library for Go.

Go ORM Libraries 39.8K stars 0 imported-by 80% confidence
91

#4 etcd

Package main is a simple wrapper of the real etcd entrypoint package (located at github.com/coreos/etcd/etcdmain) to ensure that etcd is still "go getable"; e.g.

Go ORM Libraries 51.7K stars 0 imported-by 80% confidence
89

#5 tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Go ORM Libraries 40.1K stars 0 imported-by 80% confidence
89