-
Notifications
You must be signed in to change notification settings - Fork 130
Home
go-jet edited this page Aug 19, 2019
·
26 revisions
Jet is a framework for writing type-safe SQL queries in Go, with ability to easily convert database query result to desired arbitrary structure. Jet currently supports PostgreSQL, MySQL and MariaDB. Support for additional databases will be added in future jet releases.
Jet is the easiest and fastest way to write complex SQL queries and map database query result
into complex object composition destination.
Use the bellow command to install jet
$ go get -u github.com/go-jet/jet
Install jet generator to GOPATH bin folder. This will allow generating jet files from the command line.
go install github.com/go-jet/jet/cmd/jet
*Make sure GOPATH bin folder is added to the PATH environment variable.
- Home
- Generator
- Model
- SQL Builder
- Query Result Mapping (QRM)
-
FAQ
- How to execute jet statement in SQL transaction?
- How to construct dynamic projection list?
- How to construct dynamic condition?
- How to use jet in multi-tenant environment?
- How to change model field type?
- How to use custom(or currently unsupported) functions and operators?
- How to use IN/NOT_IN with dynamic list of values?
- Scan stopped working after naming a destination type