Awesome Go

Relational Database Drivers

21 libraries in Database Drivers / Relational Database Drivers

go-sql-driver/mysql

MySQL driver for Go

15,274Database DriversRelational Database Drivers
pgx

PostgreSQL driver supporting features beyond those exposed by database/sql

14,327Database DriversRelational Database Drivers
pq

Pure Go Postgres driver for database/sql

9,963Database DriversRelational Database Drivers
go-sqlite3

SQLite3 driver for go that uses database/sql

9,252Database DriversRelational Database Drivers
go-mssqldb

Microsoft MSSQL driver for Go

1,881Database DriversRelational Database Drivers
go-sqlite3

This Go module is compatible with the database/sql driver. It allows embedding SQLite into your application, provides direct access to its C API, supports SQLite VFS, and also includes a GORM driver

1,123Database DriversRelational Database Drivers
sqlhooks

Attach hooks to any database/sql driver

664Database DriversRelational Database Drivers
go-oci8

Oracle driver for go that uses database/sql

633Database DriversRelational Database Drivers
godror

Oracle driver for Go, using the ODPI-C driver

599Database DriversRelational Database Drivers
Sqinn-Go

SQLite with pure Go

543Database DriversRelational Database Drivers
go-mssqldb

Microsoft's official Go driver for SQL Server, Azure SQL, Azure Synapse, SQL database in Fabric, and Fabric Data Warehouse. Supports Azure AD, Always Encrypted, bulk operations

412Database DriversRelational Database Drivers
KSQL

A Simple and Powerful Golang SQL Library

361Database DriversRelational Database Drivers
surrealdb.go

SurrealDB Driver for Go

318Database DriversRelational Database Drivers
firebirdsql

Firebird RDBMS SQL driver for Go

270Database DriversRelational Database Drivers
go-rqlite

A Go client for rqlite, providing easy-to-use abstractions for working with the rqlite API

186Database DriversRelational Database Drivers
ydb-go-sdk

native and database/sql driver YDB (Yandex Database)

181Database DriversRelational Database Drivers
go-adodb

Microsoft ActiveX Object DataBase driver for go that uses database/sql

154Database DriversRelational Database Drivers
avatica

Apache Avatica/Phoenix SQL driver for database/sql

126Database DriversRelational Database Drivers
gofreetds

Microsoft MSSQL driver. Go wrapper over [FreeTDS](https://www.freetds.org)

114Database DriversRelational Database Drivers
bgc

Datastore Connectivity for BigQuery for go

21Database DriversRelational Database Drivers
pig

Simple [pgx](https://github.com/jackc/pgx) wrapper to execute and [scan](https://github.com/georgysavva/scany) query results easily

17Database DriversRelational Database Drivers