small fixes

This commit is contained in:
Umed Khudoiberdiev 2016-04-15 16:57:04 +05:00
parent 65bd93202b
commit 3a3e60f31c
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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(_ => {});
}
// -------------------------------------------------------------------------