API 参考 / @142vip/data-source / VipAliGatewayApi
类: VipAliGatewayApi
定义于: core/apis/vip-ali-gateway-api.ts:24
阿里云网关API 参考:https://www.npmjs.com/package/aliyun-api-gateway
theme_extends
构造函数
构造函数
new VipAliGatewayApi():
VipAliGatewayApi
返回
VipAliGatewayApi
继承自
方法
getConnectionData()
getConnectionData(
params
):Promise
<DataSourceParseResponse
<unknown
>>
定义于: core/apis/vip-ali-gateway-api.ts:25
参数
params
AliGatewayApiParams
返回
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
>>