API 参考
    正在准备搜索索引...
    • Creates a database index. Can be used on entity property or on entity. Can create indices with composite columns when used on entity.

      参数

      返回 ClassDecorator & PropertyDecorator

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

      参数

      返回 ClassDecorator & PropertyDecorator

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

      参数

      • name: string
      • options: { synchronize: false }

      返回 ClassDecorator & PropertyDecorator

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

      参数

      返回 ClassDecorator & PropertyDecorator

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

      参数

      返回 ClassDecorator & PropertyDecorator

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

      参数

      • fields: (object?: any) => any[] | { [key: string]: number }
      • 可选options: IndexOptions

      返回 ClassDecorator & PropertyDecorator

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

      参数

      • name: string
      • fields: (object?: any) => any[] | { [key: string]: number }
      • 可选options: IndexOptions

      返回 ClassDecorator & PropertyDecorator