API 参考
    正在准备搜索索引...
    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: SimpleColumnType
      • 可选options: ColumnCommonOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: SpatialColumnType
      • 可选options: ColumnCommonOptions & SpatialColumnOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: WithLengthColumnType
      • 可选options: ColumnCommonOptions & ColumnWithLengthOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: WithWidthColumnType
      • 可选options: ColumnCommonOptions & ColumnWithWidthOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: WithPrecisionColumnType
      • 可选options: ColumnCommonOptions & ColumnNumericOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: "enum"
      • 可选options: ColumnCommonOptions & ColumnEnumOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: "simple-enum"
      • 可选options: ColumnCommonOptions & ColumnEnumOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: "set"
      • 可选options: ColumnCommonOptions & ColumnEnumOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      参数

      • type: "hstore"
      • 可选options: ColumnCommonOptions & ColumnHstoreOptions

      返回 PropertyDecorator

    • Column decorator is used to mark a specific class property as a table column. Only properties decorated with this decorator will be persisted to the database when entity be saved.

      Property in entity can be marked as Embedded, and on persist all columns from the embedded are mapped to the single table of the entity where Embedded is used. And on hydration all columns which supposed to be in the embedded will be mapped to it from the single table.

      参数

      • type: (type?: any) => Function
      • 可选options: ColumnEmbeddedOptions

      返回 PropertyDecorator