Database / SQL Query Builders

26 packages

Packages (26)

sqlc

Generate type-safe code from SQL.

16,868 992

Squirrel

Go library that helps you build SQL queries.

7,856 504

xo

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

3,885 334

jet

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

3,562 175

goqu

Idiomatic SQL builder and query library.

2,633 222

gendry

Non-invasive SQL builder and powerful data binder.

1,642 196

Dotsql

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

747 50

ozzo-dbx

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

662 106

sqlingo

A lightweight DSL to build SQL in Go.

447 26

dbq

Zero boilerplate database operations for Go.

412 20

sqrl

SQL query builder, fork of Squirrel with improved performance.

283 39

sq

Type-safe SQL builder and struct mapper for Go.

203 11

bqb

Lightweight and easy to learn query builder.

187 13

sqlf

Fast SQL query builder.

187 17

buildsqlx

Go database query builder library for PostgreSQL.

185 17

igor

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

126 4

builq

Easily build SQL queries in Go.

97 2

godbal

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

59 29

gosql

SQL Query builder with better null values support.

37 2

qry

Tool that generates constants from files with raw SQL queries.

35 7

Hotcoal

Secure your handcrafted SQL against injection.

23 1

ormlite

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

16 3

obreron

Fast and cheap SQL builder which does only one thing, SQL building.

12 1

sg

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

7

patcher

Powerful SQL Query builder that automatically generates SQL queries from structs.

6 5

Squalus

Thin layer over the Go SQL package that makes it easier to perform queries.