mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs(connection): improving missing import
This commit is contained in:
parent
86362dba43
commit
5088e97d40
@ -77,7 +77,7 @@ and connection options will be automatically read from this file by those method
|
||||
Root of your project is the same level where your `node_modules` directory is.
|
||||
|
||||
```typescript
|
||||
import {createConnection, Connection} from "typeorm";
|
||||
import {createConnection, createConnections, Connection} from "typeorm";
|
||||
|
||||
// here createConnection will load connection options from
|
||||
// ormconfig.json / ormconfig.js / ormconfig.yml / ormconfig.env / ormconfig.xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user