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: 7 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 9,125
volatiletech/sqlboiler An ORM generator that creates a Go-based data access layer from an existing database schema. 6,776
kesonan/sqlgen Automates code generation for Go-based SQL libraries from MySQL queries 84
go-jet/jet A tool for efficiently writing and executing complex type-safe SQL queries in Go with automatic data mapping. 2,741
sqlc-dev/sqlc Generates type-safe code from SQL queries 13,704
tobymao/sqlglot A comprehensive Python library for parsing and transpiling various SQL dialects to ensure compatibility and correctness. 6,866
lqs/sqlingo A lightweight DSL and ORM library for writing SQL in Go 416
jmoiron/sqlx An extension to Go's standard database/sql library, adding features like parameterized queries and row marshaling. 16,405
bokwoon95/go-structured-query Automates the creation and execution of SQL queries to simplify data access and mapping 196
sunary/sqlize A toolkit for parsing and generating SQL code in Go 107
rubenv/sql-migrate Tools and scripts for managing changes to a relational database schema in a Go application. 3,248
sqls-server/sqls A tool that provides advanced intelligence for editing SQL code in various databases. 1,023
stephenafamo/bob A toolset providing a query builder and ORM/Factory generator for databases using Go. 825
elgris/sqrl A Go-based library for building and executing SQL queries with fluent syntax. 279
doug-martin/goqu An expressive SQL builder and executor for Go 2,424