Class ConnectionOptionsEnvReader
Hierarchy
ConnectionOptionsEnvReader
Methods
Protected stringToArray
stringToArray( variable?: undefined | string ) : string []
Parameters
Optional variable: undefined | string
Returns string []
Protected transformLogging
transformLogging( logging: string ) : any
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Reads connection options from environment variables. Environment variables can have only a single connection. Its strongly required to define TYPEORM_CONNECTION env variable.