Merge remote-tracking branch 'remotes/upstream/master' into window-functions
This commit is contained in:
commit
31479f2130
1 changed files with 7 additions and 2 deletions
|
|
@ -15,6 +15,9 @@ Jet currently supports `PostgreSQL`, `MySQL` and `MariaDB`. Future releases will
|
||||||
Jet is the easiest and the fastest way to write complex SQL queries and map database query result
|
Jet is the easiest and the fastest way to write complex SQL queries and map database query result
|
||||||
into complex object composition. __It is not an ORM.__
|
into complex object composition. __It is not an ORM.__
|
||||||
|
|
||||||
|
## Motivation
|
||||||
|
https://medium.com/@go.jet/jet-5f3667efa0cc
|
||||||
|
|
||||||
## Contents
|
## Contents
|
||||||
- [Features](#features)
|
- [Features](#features)
|
||||||
- [Getting Started](#getting-started)
|
- [Getting Started](#getting-started)
|
||||||
|
|
@ -491,8 +494,8 @@ handleError(err)
|
||||||
Complete code example can be found at [./examples/quick-start/quick-start.go](./examples/quick-start/quick-start.go)
|
Complete code example can be found at [./examples/quick-start/quick-start.go](./examples/quick-start/quick-start.go)
|
||||||
|
|
||||||
|
|
||||||
This example represent probably the most common use case. Detail info about additional features and use cases can be
|
This example represent probably the most common use case. Detail info about additional statements, features and use cases can be
|
||||||
found at project [wiki](https://github.com/go-jet/jet/wiki) page.
|
found at project [Wiki](https://github.com/go-jet/jet/wiki) page.
|
||||||
|
|
||||||
## Benefits
|
## Benefits
|
||||||
|
|
||||||
|
|
@ -536,6 +539,8 @@ the bug will be caught at compile time.
|
||||||
Lets say someone changes the type of `length` column to some non integer type. Build will also fail at the same line
|
Lets say someone changes the type of `length` column to some non integer type. Build will also fail at the same line
|
||||||
because integer columns and expressions can be only compered to other integer columns and expressions.
|
because integer columns and expressions can be only compered to other integer columns and expressions.
|
||||||
|
|
||||||
|
Build will also fail if someone removes `length` column from `film` table, because `Film` field will be omitted from SQL Builder and Model types, next time `jet` generator is run.
|
||||||
|
|
||||||
Without Jet these bugs will have to be either caught by some test or by manual testing.
|
Without Jet these bugs will have to be either caught by some test or by manual testing.
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue