• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @sequelize/core
  • decorators-legacy
  • Comment

Function Comment

  • Comment(options): PropertyOrGetterDescriptor
  • The @Comment decorator is used to set the comment on a column, it is a shortcut for setting the comment option of the Attribute decorator.

    This is only useful if you use index~Sequelize#sync to create your tables.

    Parameters

    • options: string

    Returns PropertyOrGetterDescriptor

    • Defined in packages/core/src/decorators/legacy/attribute.ts:200

Settings

Member Visibility

Theme

Documentation
  • Loading...

Generated using TypeDoc