SQL Query Builders

Libraries for building and using SQL.

sqlc14K

Generate type-safe code from SQL.

Squirrel7.1K

Go library that helps you build SQL queries.

xo3.8K

Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.

jet2.8K

Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.

goqu2.4K

Idiomatic SQL builder and query library.

gendry1.6K

Non-invasive SQL builder and powerful data binder.

Dotsql743

Go library that helps you keep sql files in one place and use them with ease.

ozzo-dbx640

Powerful data retrieval methods as well as DB-agnostic query building capabilities.

sqlingo419

A lightweight DSL to build SQL in Go.

dbq405

Zero boilerplate database operations for Go.

sqrl279

SQL query builder, fork of Squirrel with improved performance.

sq197

Type-safe SQL builder and struct mapper for Go.

buildsqlx173

Go database query builder library for PostgreSQL.

bqb156

Lightweight and easy to learn query builder.

sqlf149

Fast SQL query builder.

igor126

Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.

builq91

Easily build SQL queries in Go.

godbal59

Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.

qry35

Tool that generates constants from files with raw SQL queries.

gosql34

SQL Query builder with better null values support.

Hotcoal22

Secure your handcrafted SQL against injection.

ormlite16

Lightweight package containing some ORM-like features and helpers for sqlite databases.

sg6

A SQL Gen for generating standard SQLs(supports: CRUD) written in Go.