Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelColumn

Helper class for model generation that stores column metadata.

Hierarchy

  • ModelColumn

Index

Constructors

constructor

Methods

getDataType

  • getDataType(): string

getDecoratorString

  • getDecoratorString(): string

getHasDefault

  • getHasDefault(): boolean

getIsGenerated

  • getIsGenerated(): boolean

getIsNullable

  • getIsNullable(): boolean

getIsPrimary

  • getIsPrimary(): boolean

getMaxLength

  • getMaxLength(): number

getName

  • getName(): string

getPropertyName

  • getPropertyName(): string

getPropertyString

  • getPropertyString(): string

getSQLDataType

  • getSQLDataType(): string

setDataType

  • setDataType(dataType: string): this

setHasDefault

  • setHasDefault(hasDefault: boolean): this

setIsGenerated

  • setIsGenerated(isGenerated: boolean): this

setIsNullable

  • setIsNullable(isNullable: boolean): this

setIsPrimary

  • setIsPrimary(isPrimary: boolean): this

setMaxLength

  • setMaxLength(maxLength: number): this

setName

  • setName(name: string): this

setSQLDataType

  • setSQLDataType(sqlDataType: string): this

toString

  • toString(): string

Generated using TypeDoc