xo

Code generator

A tool that generates idiomatic Go code for SQL databases based on their schema or custom queries.

Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server

GitHub

4k stars
71 watching
317 forks
Language: Go
last commit: 5 months ago
Linked from 2 awesome lists

code-generatorgolangmicrosoft-sql-servermysqloracleormpostgresqlsqlsqlite

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
xo/usql A command-line interface for interacting with various databases via a unified API 8,990
volatiletech/sqlboiler An ORM generator that creates a Go-based data access layer from an existing database schema. 6,763
kesonan/sqlgen Automates code generation for Go-based SQL libraries from MySQL queries 82
go-jet/jet A tool for efficiently writing and executing complex type-safe SQL queries in Go with automatic data mapping. 2,663
sqlc-dev/sqlc Generates type-safe code from SQL queries 13,456
tobymao/sqlglot A comprehensive SQL parser and transpiler for multiple dialects 6,745
lqs/sqlingo A lightweight DSL and ORM for generating and executing SQL queries in Go 409
jmoiron/sqlx An extension to Go's standard database/sql library, adding features like parameterized queries and row marshaling. 16,266
bokwoon95/go-structured-query Automates the creation and execution of SQL queries to simplify data access and mapping 197
sunary/sqlize A tool for parsing and generating SQL code from Go structs. 101
rubenv/sql-migrate Tools and scripts for managing changes to a relational database schema in a Go application. 3,235
sqls-server/sqls A tool that provides advanced intelligence for editing SQL code in various databases. 1,001
stephenafamo/bob A toolset providing a query builder and ORM/Factory generator for databases using Go. 793
elgris/sqrl A Go-based library for building and executing SQL queries with fluent syntax. 278
doug-martin/goqu An expressive SQL builder and executor for Go 2,403