github.com/jmoiron/sqlx

sqlx

Package sqlx provides general purpose extensions to database/sql.

74

Decision Signals

Health score 74/100, confidence 90/100.

Strong
Maintenance 38
Adoption 100
Security 70
Maturity 100
Developer DX 89
Confidence 90

Install

go get github.com/jmoiron/sqlx

Package Data

updated Jun 11, 2026
Latest versionv1.4.0
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 cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Go ORM Libraries 32.2K stars 0 imported-by 100% confidence
92

#3 dolt

Dolt – Git for Data

Go ORM Libraries 23.4K stars 0 imported-by 100% confidence
89

#4 GORM

Developer-friendly ORM library for Go.

Go ORM Libraries 0 stars 86.9K imported-by 80% confidence
76

#5 Ent

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

Go ORM Libraries 0 stars 4.0K imported-by 80% confidence
75

#6 GoSQLX

Package gosqlx provides a production-ready, high-performance SQL parsing SDK for Go with zero-copy tokenization and comprehensive object pooling.

Go ORM Libraries 100 stars 0 imported-by 80% confidence
75

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 cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Go ORM Libraries 32.2K stars 0 imported-by 100% confidence
92

#3 dolt

Dolt – Git for Data

Go ORM Libraries 23.4K stars 0 imported-by 100% confidence
89

#4 GORM

Developer-friendly ORM library for Go.

Go ORM Libraries 0 stars 86.9K imported-by 80% confidence
76

#5 Ent

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

Go ORM Libraries 0 stars 4.0K imported-by 80% confidence
75