Awesome Go

Relational Database Drivers

21 libraries in Database Drivers / Relational Database Drivers

go-sql-driver/mysql

MySQL driver for Go

15,297Database DriversRelational Database Drivers
pgx

PostgreSQL driver supporting features beyond those exposed by database/sql

14,487Database DriversRelational Database Drivers
pq

Pure Go Postgres driver for database/sql

9,978Database DriversRelational Database Drivers
go-sqlite3

SQLite3 driver for go that uses database/sql

9,283Database DriversRelational Database Drivers
go-mssqldb

Microsoft MSSQL driver for Go

1,880Database 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,149Database 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

600Database DriversRelational Database Drivers
Sqinn-Go

SQLite with pure Go

549Database 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

418Database DriversRelational Database Drivers
KSQL

A Simple and Powerful Golang SQL Library

360Database DriversRelational Database Drivers
surrealdb.go

SurrealDB Driver for Go

319Database DriversRelational Database Drivers
firebirdsql

Firebird RDBMS SQL driver for Go

269Database DriversRelational Database Drivers
go-rqlite

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

188Database DriversRelational Database Drivers
ydb-go-sdk

native and database/sql driver YDB (Yandex Database)

184Database 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