• 根据索引查询数据

    Parameters

    • dbName: string

      数据库名称

    • tableName: string

      表名称

    • indexName: string

      索引名称

    • indexValue: any

      索引值

    • isAll: boolean = true

      根据索引查询出来的值,查出来全部值还是默认第一条

    Returns Promise<any>

    Promise对象,包含查询结果对象