API 参考 / @142vip/data-source / VipKingBase
类: VipKingBase
定义于: core/sql/vip-kingbase.ts:19
金仓数据源
theme_extends
构造函数
构造函数
new VipKingBase():
VipKingBase
返回
VipKingBase
继承自
方法
getConnectionData()
getConnectionData(
options
):Promise
<DataSourceParseResponse
<unknown
>>
定义于: core/sql/vip-kingbase.ts:23
获取连接数据
参数
options
KingBaseOptions
返回
Promise
<DataSourceParseResponse
<unknown
>>
重写了
DataSourceManager
.getConnectionData
getDataBaseNameList()
getDataBaseNameList():
Promise
<DataSourceParseResponse
<string
[]>>
定义于: data-source.manager.ts:15
返回
Promise
<DataSourceParseResponse
<string
[]>>
继承自
DataSourceManager
.getDataBaseNameList
getTableColumns()
getTableColumns(
_tableName
,_schema?
):Promise
<DataSourceParseResponse
<DataSourceColumn
[]>>
定义于: data-source.manager.ts:29
获取表字段列表
参数
_tableName
string
_schema?
string
返回
Promise
<DataSourceParseResponse
<DataSourceColumn
[]>>
继承自
DataSourceManager
.getTableColumns
getTableNames()
getTableNames():
Promise
<DataSourceParseResponse
<DataSourceTable
[]>>
定义于: data-source.manager.ts:22
获取表名列表
返回
Promise
<DataSourceParseResponse
<DataSourceTable
[]>>
继承自
DataSourceManager
.getTableNames
parseData()
parseData():
Promise
<DataSourceParseResponse
<unknown
>>
返回
Promise
<DataSourceParseResponse
<unknown
>>
继承自
testConnect()
testConnect():
Promise
<DataSourceParseResponse
<unknown
>>
定义于: data-source.manager.ts:11
返回
Promise
<DataSourceParseResponse
<unknown
>>