Creates a new connection from the ormconfig file with a given name.
If connection options were not specified, then it will try to create connection automatically, based on content of ormconfig (json/js/yml/xml/env) file or environment variables. Only one connection from ormconfig will be created (name "default" or connection without name).
Creates a new connection and registers it in the manager.
If connection options were not specified, then it will try to create connection automatically, based on content of ormconfig (json/js/yml/xml/env) file or environment variables. Only one connection from ormconfig will be created (name "default" or connection without name).
Creates new connections and registers them in the manager.
If connection options were not specified, then it will try to create connection automatically, based on content of ormconfig (json/js/yml/xml/env) file or environment variables. All connections from the ormconfig will be created.
Creates a new query builder.
Gets connection from the connection manager. If connection name wasn't specified, then "default" connection will be retrieved.
Gets a ConnectionManager which creates connections.
Reads connection options stored in ormconfig configuration file.
Gets tree repository for the given entity class.
Gets entity manager from the connection. If connection name wasn't specified, then "default" connection will be retrieved.
Gets metadata args storage.
Gets MongoDB entity manager from the connection. If connection name wasn't specified, then "default" connection will be retrieved.
Gets mongodb repository for the given entity class or name.
Gets repository for the given entity class.
Gets Sqljs entity manager from connection name. "default" connection is used, when no name is specified. Only works when Sqljs driver is used.
Gets tree repository for the given entity class.
Generated using TypeDoc
Creates a new connection and registers it in the manager. Only one connection from ormconfig will be created (name "default" or connection without name).
If connection options were not specified, then it will try to create connection automatically, based on content of ormconfig (json/js/yml/xml/env) file or environment variables. Only one connection from ormconfig will be created (name "default" or connection without name).