API 参考
    正在准备搜索索引...

    View in the database represented in this class.

    索引

    构造函数

    • 参数

      返回 View

    属性

    "@instanceof": symbol
    database?: string

    Database name that this view resides in if it applies.

    expression: string | ((connection: DataSource) => SelectQueryBuilder<any>)

    View definition.

    indices: TableIndex[]

    View Indices

    materialized: boolean

    Indicates if view is materialized.

    name: string

    View name

    schema?: string

    Schema name that this view resides in if it applies.

    方法

    • Add index

      参数

      返回 void

    • Clones this table to a new table with all properties cloned.

      返回 View

    • Remove index

      参数

      返回 void

    • Creates view from a given entity metadata.

      参数

      返回 View