Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "decorator/entity/Entity"

Index

Functions

Functions

Entity

  • This decorator is used to mark classes that will be an entity (table or document depend on database type). Database schema will be created for all classes decorated with it, and Repository can be retrieved and used for it.

    Parameters

    Returns Function

  • This decorator is used to mark classes that will be an entity (table or document depend on database type). Database schema will be created for all classes decorated with it, and Repository can be retrieved and used for it.

    Parameters

    • Optional name: undefined | string
    • Optional options: EntityOptions

    Returns Function

Generated using TypeDoc