Interface PostgresOptions

Hierarchy

Properties

default?: any

If the property is on a class, its initializer/default value is per default used. This can be overridden using this option. e.g. field: string & MySQL<{default: 'abc'}>

defaultExpr?: any

e.g. field: string & MySQL<{defaultExpr: 'NOW()'}>

noDefault?: true

If true no default column value is inferred from the property initializer/default value. e.g. field: string & MySQL<{noDefault: true}> = ''

type?: string

e.g. field: string & MySQL<{type: 'VARCHAR(255)'}>

Generated using TypeDoc