Update README.md
This commit is contained in:
parent
44e1b7f4d9
commit
e03773a79e
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -121,9 +121,9 @@ As command output suggest, Jet will:
|
||||||
|
|
||||||
Generated files folder structure will look like this:
|
Generated files folder structure will look like this:
|
||||||
```sh
|
```sh
|
||||||
|-- .gen # -path
|
|-- .gen # path
|
||||||
| `-- jetdb # database name
|
| -- jetdb # database name
|
||||||
| `-- dvds # schema name
|
| -- dvds # schema name
|
||||||
| |-- enum # sql builder package for enums
|
| |-- enum # sql builder package for enums
|
||||||
| | |-- mpaa_rating.go
|
| | |-- mpaa_rating.go
|
||||||
| |-- table # sql builder package for tables
|
| |-- table # sql builder package for tables
|
||||||
|
|
@ -131,7 +131,7 @@ Generated files folder structure will look like this:
|
||||||
| |-- address.go
|
| |-- address.go
|
||||||
| |-- category.go
|
| |-- category.go
|
||||||
| ...
|
| ...
|
||||||
| |-- view # sql builder package for views
|
| |-- view # sql builder package for views
|
||||||
| |-- actor_info.go
|
| |-- actor_info.go
|
||||||
| |-- film_list.go
|
| |-- film_list.go
|
||||||
| ...
|
| ...
|
||||||
|
|
@ -530,8 +530,8 @@ Automatic scan to arbitrary structure removes a lot of headache and boilerplate
|
||||||
|
|
||||||
##### Speed of execution
|
##### Speed of execution
|
||||||
|
|
||||||
While ORM libraries can introduce significant performance penalties due to number of round-trips to the database,
|
While ORM libraries can introduce significant performance penalties due to number of round-trips to the database(N+1 query problem),
|
||||||
Jet will always perform better as developers can write complex query and retrieve result with a single database call.
|
`jet` will always perform better as developers can write complex query and retrieve result with a single database call.
|
||||||
Thus handler time lost on latency between server and database can be constant. Handler execution will be proportional
|
Thus handler time lost on latency between server and database can be constant. Handler execution will be proportional
|
||||||
only to the query complexity and the number of rows returned from database.
|
only to the query complexity and the number of rows returned from database.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue