github.com/jmoiron/sqlx

sqlx

Package sqlx provides general purpose extensions to database/sql.

79

Decision Signals

Health score 79/100, confidence 100/100.

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

Install

go get github.com/jmoiron/sqlx

Package Data

updated May 31, 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 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

#2 GORM

Developer-friendly ORM library for Go.

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

Similar Packages

Go ORM Libraries

#1 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

#2 GORM

Developer-friendly ORM library for Go.

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

#3 manifestor

Package manifestor provides shared types for HLS and DASH manifest processing.

Go ORM Libraries 0 stars 0 imported-by 80% confidence
64

#5 xorm

Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle, Moved to https://gitea.com/xorm/xorm

Go ORM Libraries 0 stars 4.0K imported-by 40% confidence
63