API 参考
    正在准备搜索索引...
    • Creates a new connection and registers it in the manager. Only one connection from ormconfig will be created (name "default" or connection without name).

      返回 Promise<DataSource>

    • Creates a new connection from the ormconfig file with a given name.

      参数

      • name: string

      返回 Promise<DataSource>

    • Creates a new connection and registers it in the manager.

      参数

      返回 Promise<DataSource>