mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
small fixes
This commit is contained in:
parent
65bd93202b
commit
3a3e60f31c
@ -624,7 +624,7 @@ createConnection(options).then(connection => {
|
||||
});
|
||||
```
|
||||
|
||||
### using FindOptions to customize find queries
|
||||
#### using FindOptions to customize find queries
|
||||
|
||||
`Repository.find` method allows you to specify `findOptions`. Using this
|
||||
you can customize your query to perform more complex queries. For example
|
||||
|
||||
@ -45,8 +45,7 @@ export class SchemaCreator {
|
||||
.then(_ => this.createForeignKeysForAll(metadatas))
|
||||
.then(_ => this.updateUniqueKeysForAll(metadatas))
|
||||
.then(_ => this.removePrimaryKeyForAll(metadatas))
|
||||
.then(_ => {})
|
||||
.catch(err => console.log(err));
|
||||
.then(_ => {});
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user