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: over 2 years ago
Linked from 2 awesome lists

code-generatorgolangmicrosoft-sql-servermysqloracleormpostgresqlsqlsqlite

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
xo/usqlA command-line interface for interacting with various databases via a unified API9,125
volatiletech/sqlboilerAn ORM generator that creates a Go-based data access layer from an existing database schema.6,776
kesonan/sqlgenAutomates code generation for Go-based SQL libraries from MySQL queries84
go-jet/jetA tool for efficiently writing and executing complex type-safe SQL queries in Go with automatic data mapping.2,741
sqlc-dev/sqlcGenerates type-safe code from SQL queries13,704
tobymao/sqlglotA comprehensive Python library for parsing and transpiling various SQL dialects to ensure compatibility and correctness.6,866
lqs/sqlingoA lightweight DSL and ORM library for writing SQL in Go416
jmoiron/sqlxAn extension to Go's standard database/sql library, adding features like parameterized queries and row marshaling.16,405
bokwoon95/go-structured-queryAutomates the creation and execution of SQL queries to simplify data access and mapping196
sunary/sqlizeA toolkit for parsing and generating SQL code in Go107
rubenv/sql-migrateTools and scripts for managing changes to a relational database schema in a Go application.3,248
sqls-server/sqlsA tool that provides advanced intelligence for editing SQL code in various databases.1,023
stephenafamo/bobA toolset providing a query builder and ORM/Factory generator for databases using Go.825
elgris/sqrlA Go-based library for building and executing SQL queries with fluent syntax.279
doug-martin/goquAn expressive SQL builder and executor for Go2,424