client_query_response.go 436 B

123456789101112131415161718192021222324252627282930313233
  1. package ports
  2. type QueryResponse struct {
  3. Statement string
  4. Infos []*InfoData
  5. TotalCount int64
  6. PageNo int32
  7. }
  8. type QueryByKeysResponse struct {
  9. Statement string
  10. Info *InfoData
  11. }
  12. type CountResponse struct {
  13. Statement string
  14. Count int64
  15. }
  16. type InfoData struct {
  17. Columns []*Column
  18. }
  19. type Column struct {
  20. Name string
  21. Value *ColumnValue
  22. }
  23. type ColumnValue struct {
  24. Kind int32
  25. Type string
  26. Value any
  27. }