Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes all options for PrimaryGeneratedColumn decorator with numeric generation strategy.

Hierarchy

  • PrimaryGeneratedColumnNumericOptions

Index

Properties

Optional comment

comment: undefined | string

Column comment. Not supported by all database types.

Optional name

name: undefined | string

Column name in the database.

Optional type

Column type. Must be one of the value from the ColumnTypes class.

Optional unsigned

unsigned: undefined | true | false

Puts UNSIGNED attribute on to numeric column. Works only for MySQL.

Optional zerofill

zerofill: undefined | true | false

Puts ZEROFILL attribute on to numeric column. Works only for MySQL. If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to the column

Generated using TypeDoc