|
@@ -2,32 +2,17 @@ package ports
|
|
|
|
|
|
|
|
type QueryResponse struct {
|
|
type QueryResponse struct {
|
|
|
Statement string
|
|
Statement string
|
|
|
- Infos []*InfoData
|
|
|
|
|
|
|
+ Infos []map[string]any
|
|
|
TotalCount int64
|
|
TotalCount int64
|
|
|
PageNo int32
|
|
PageNo int32
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type QueryByKeysResponse struct {
|
|
type QueryByKeysResponse struct {
|
|
|
Statement string
|
|
Statement string
|
|
|
- Info *InfoData
|
|
|
|
|
|
|
+ Info map[string]any
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type CountResponse struct {
|
|
type CountResponse struct {
|
|
|
Statement string
|
|
Statement string
|
|
|
Count int64
|
|
Count int64
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-type InfoData struct {
|
|
|
|
|
- Columns []*Column
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type Column struct {
|
|
|
|
|
- Name string
|
|
|
|
|
- Value *ColumnValue
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type ColumnValue struct {
|
|
|
|
|
- Kind int32
|
|
|
|
|
- Type string
|
|
|
|
|
- Value any
|
|
|
|
|
-}
|
|
|