Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "decorator/Check"

Index

Functions

Functions

Check

  • Check(expression: string): Function
  • Check(name: string, expression: string): Function
  • Creates a database check. Can be used on entity property or on entity. Can create checks with composite columns when used on entity.

    Parameters

    • expression: string

    Returns Function

  • Creates a database check. Can be used on entity property or on entity. Can create checks with composite columns when used on entity.

    Parameters

    • name: string
    • expression: string

    Returns Function

Generated using TypeDoc