An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/sub0zero/go-sqlbuilder

Package jet is a framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure. Use the bellow command to install jet Install jet generator to GOPATH bin folder. This will allow generating jet files from the command line. *Make sure GOPATH bin folder is added to the PATH environment variable. Jet requires already defined database schema(with tables, enums etc), so that jet generator can generate SQL Builder and Model files. File generation is very fast, and can be added as every pre-build step. Sample command: Then next step is to import generated SQL Builder and Model files and write SQL queries in Go: To write SQL queries for PostgreSQL import: To write SQL queries for MySQL and MariaDB import: *Dot import is used so that Go code resemble as much as native SQL. Dot import is not mandatory. Write SQL: Store result into desired destination: Detail info about all features and use cases can be found at project wiki page - https://github.com/go-jet/jet/wiki.

Ecosystem
proxy.golang.org
Latest Release
v2.3.0+incompatible
over 5 years ago
Versions
7
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/sub0zero/go-sqlbuilder
spec
License Apache-2.0, BSD-3-Clause, MIT
Namespace github.com/sub0zero
First Release over 6 years ago
Last Synced 4 days ago
Repository
Stars 1,334 on GitHub
Forks 79 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%