package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Jun 26, 2025
License: Apache-2.0, BSD-2-Clause, MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateReq struct {
api.Meta `path:"/ai/database/create" tags:"Database" method:"Post" summary:"创建ai database,如果database已经存在返回成功"`
Database string `json:"database,omitempty"`
}
type CreateRes struct {
api.CommonRes
Databases []string `json:"databases,omitempty"`
AffectedCount int32 `json:"affectedCount,omitempty"`
}
type DatabaseInfo struct {
CreateTime string `json:"createTime,omitempty"`
DbType string `json:"dbType,omitempty"`
}
type DropReq struct {
api.Meta ``
Database string `json:"database,omitempty"`
}
type DropRes struct {
api.CommonRes
Databases []string `protobuf:"bytes,4,rep,name=databases,proto3" json:"databases,omitempty"`
AffectedCount int32 `protobuf:"varint,5,opt,name=affectedCount,proto3" json:"affectedCount,omitempty"`
}
DropRes drop database response
type ListReq struct {
api.Meta `path:"/database/list" tags:"Database" method:"Get" summary:"查询database列表"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.