aakash-rajur/sqlxgen
cli tool to generate sqlx models from schemas and queries
When building applications that interact with PostgreSQL or MySQL databases, developers often need to write Go code that maps directly to their database schemas and SQL queries. This tool automates the creation of `sqlx`-compatible Go structs from existing database tables and custom SQL queries. The result is type-safe Go code that streamlines database interactions for Go application developers.
No commits in the last 6 months.
Use this if you are a Go developer who prefers writing raw SQL queries and wants to automatically generate the corresponding Go structs to interact with your PostgreSQL or MySQL database using `sqlx`.
Not ideal if you prefer a full ORM (Object-Relational Mapping) solution or are not working with Go and `sqlx` for your database interactions.
Stars
9
Forks
2
Language
Go
License
MIT
Category
Last pushed
Feb 13, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/aakash-rajur/sqlxgen"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.