Update README.md

This commit is contained in:
go-jet 2019-09-08 10:50:47 +02:00 committed by GitHub
parent 361e3605f4
commit fbdf056629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,9 @@ Jet currently supports `PostgreSQL`, `MySQL` and `MariaDB`. Future releases will
Jet is the easiest and fastest way to write complex SQL queries and map database query result Jet is the easiest and 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