readme fix
This commit is contained in:
parent
9db678299e
commit
330c6216b6
@ -91,6 +91,6 @@ Options:
|
||||
npx typeorm-model-generator -d "Z:\sqlite.db" -e sqlite -o .
|
||||
````
|
||||
## Naming strategy
|
||||
If you want to generate custom names for properties in generated entities you need to use custom naming strategy. You need to create your own version of [NamingStrategy](https://github.com/Kononnable/typeorm-model-generator/blob/master/src/NamingStrategy.ts) nad pass it as command parameter.
|
||||
If you want to generate custom names for properties in generated entities you need to use custom naming strategy. You need to create your own version of [NamingStrategy](https://github.com/Kononnable/typeorm-model-generator/blob/master/src/NamingStrategy.ts) and pass it as command parameter.
|
||||
|
||||
```typeorm-model-generator -d typeorm_mg --namingStrategy=./NamingStrategy -e sqlite -db /tmp/sqliteto.db```
|
||||
|
Loading…
Reference in New Issue
Block a user