Added SQLite to readme

This commit is contained in:
Kononnable 2018-05-03 21:52:57 +02:00
parent 6079b5761f
commit fa1ceab1d1

View File

@ -12,6 +12,7 @@ Suported db engines:
* MySQL
* MariaDB
* Oracle Database
* SQLite
## Installation
@ -27,26 +28,30 @@ Usage: typeorm-model-generator -h <host> -d <database> -p [port] -u <user> -x
[password] -e [engine]
Options:
-h, --host IP adress/Hostname for database server. [required]
-d, --database Database name. [required]
-u, --user Username for database server. [required]
-x, --pass Password for database server. [required]
-p, --port Port number for database server.
-e, --engine Database engine.
[choices: "mssql", "postgres", "mysql", "mariadb", "oracle"]
[default: "mssql"]
-o, --output Where to place generated models.
-s, --schema Schema name to create model from. Only for mssql and postgres.
--ssl [boolean] [defau lt: false]
--noConfig Doesn't create tsconfig.json and ormconfig.json
--help Show help [boolean]
--version Show version number [boolean]
-h, --host IP adress/Hostname for database server. [required]
-d, --database Database name. [required]
-u, --user Username for database server. [required]
-x, --pass Password for database server. [default: ""]
-p, --port Port number for database server.
-e, --engine Database engine.
[choices: "mssql", "postgres", "mysql", "mariadb", "oracle", "sqlite"]
[default: "mssql"]
-o, --output Where to place generated models.
[default: "Z:\Repos\typeorm-model-generator\output"]
-s, --schema Schema name to create model from. Only for mssql and
postgres.
--ssl [boolean] [default: false]
--noConfig Doesn't create tsconfig.json and ormconfig.json
[boolean] [default: false]
--cf, --case-file Convert file names to specified case
--cf, --case-file Convert file names to specified case
[choices: "pascal", "param", "camel", "none"] [default: "none"]
--ce, --case-entity Convert class names to specified case
--ce, --case-entity Convert class names to specified case
[choices: "pascal", "camel", "none"] [default: "none"]
--cp, --case-property Convert property names to specified case
[choices: "pascal", "camel", "none"] [default: "none"]
--lazy Generate lazy relations [boolean] [default: false]
--lazy Generate lazy relations [boolean] [default: false]
```
### Examples