Class: DbConfig
typeorm/src.DbConfig
Constructors
new DbConfig()
new DbConfig():
DbConfig
Returns
Properties
applicationName
applicationName:
string
Source
libs/typeorm/src/lib/config/db.ts:52
autoLoadEntities
autoLoadEntities:
boolean
=true
Source
libs/typeorm/src/lib/config/db.ts:102
database
database:
string
Source
libs/typeorm/src/lib/config/db.ts:70
dropSchema
dropSchema:
false
Source
libs/typeorm/src/lib/config/db.ts:86
extra
extra:
DbExtraSettings
Source
libs/typeorm/src/lib/config/db.ts:105
host
host:
string
='localhost'
Source
libs/typeorm/src/lib/config/db.ts:55
keepConnectionAlive
keepConnectionAlive:
true
Source
libs/typeorm/src/lib/config/db.ts:90
logNotifications
logNotifications:
boolean
=true
Source
libs/typeorm/src/lib/config/db.ts:78
logger
logger?:
"debug"
|"advanced-console"
|"simple-console"
|"file"
Source
libs/typeorm/src/lib/config/db.ts:132
logging
logging:
boolean
Source
libs/typeorm/src/lib/config/db.ts:98
maxQueryExecutionTime
maxQueryExecutionTime?:
number
=5000
Source
libs/typeorm/src/lib/config/db.ts:136
metadataTableName
metadataTableName?:
string
Source
libs/typeorm/src/lib/config/db.ts:128
migrationsRun
migrationsRun:
boolean
=false
Source
libs/typeorm/src/lib/config/db.ts:82
migrationsTableName
migrationsTableName?:
string
Source
libs/typeorm/src/lib/config/db.ts:120
migrationsTransactionMode
migrationsTransactionMode?:
"all"
|"none"
|"each"
Source
libs/typeorm/src/lib/config/db.ts:124
namingStrategy
namingStrategy:
NamingStrategyInterface
Source
libs/typeorm/src/lib/config/db.ts:108
password
password:
string
Source
libs/typeorm/src/lib/config/db.ts:67
poolSize
poolSize?:
number
=30
Source
libs/typeorm/src/lib/config/db.ts:141
port
port:
number
=5432
Source
libs/typeorm/src/lib/config/db.ts:61
runSeeds
runSeeds:
boolean
=false
Source
libs/typeorm/src/lib/config/db.ts:112
ssl
ssl:
boolean
=false
Source
libs/typeorm/src/lib/config/db.ts:94
synchronize
synchronize:
boolean
=false
Source
libs/typeorm/src/lib/config/db.ts:74
type
type:
string
Source
libs/typeorm/src/lib/config/db.ts:49
username
username:
string
Source
libs/typeorm/src/lib/config/db.ts:64
verboseRetryLog
verboseRetryLog:
boolean
=false
Source
libs/typeorm/src/lib/config/db.ts:116
Generated using typedoc-plugin-markdown and TypeDoc