Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SchemaCache

数据库架构信息缓存

class

SchemaCache

Hierarchy

  • SchemaCache

Index

Properties

Methods

Properties

Static Private globalKey

globalKey: string = "SchemaModel"

Methods

Static get

  • get(database: string): any
  • 获取指定数据库的架构信息

    static
    memberof

    SchemaCache

    Parameters

    • database: string

      数据库名称

    Returns any

Static Private getHash

  • getHash(): any

Static set

  • 设置指定数据库的架构信息

    static
    memberof

    SchemaCache

    Parameters

    • database: string

      数据库名称

    • value: SchemaModel

      架构信息

    Returns boolean