Versions in this module Expand all Collapse all v1 v1.6.65 Sep 23, 2024 v1.6.64 Sep 13, 2024 v1.6.4 Sep 13, 2024 Changes in this version + const VALUE_TYPE_ARRAY + const VALUE_TYPE_FLOAT64 + const VALUE_TYPE_INT + const VALUE_TYPE_STRING + const VALUE_TYPE_TUPLE + var VALUE_TYPE_MAP = map[string]int + func SeriesEq(i *Series, j *Series, fieldIndex int, valueType string) bool + func SeriesValueEq[T SeriersValueType](i T, j T) bool + func SeriesValueLess[T SeriersValueType](i T, j T, reverse bool) bool + func TransType(value interface{}, columnName, columnDatabaseTypeName string) (interface{}, string, error) + type Client struct + Context context.Context + DB string + Debug *Debug + Host string + Password string + Port int + UserName string + func (c *Client) Close() error + func (c *Client) DoQuery(params *QueryParams) (result *common.Result, err error) + type Debug struct + Error string + IP string + QueryTime string + QueryUUID string + Sql string + func NewDebug(sql string) *Debug + func (s *Debug) String() string + type DebugInfo struct + Debug []Debug + func (s *DebugInfo) Get() map[string]interface{} + type QueryParams struct + Callbacks map[string]func(result *common.Result) error + ColumnSchemaMap map[string]*common.ColumnSchema + ORGID string + QueryCacheTTL string + QueryUUID string + SimpleSql bool + Sql string + UseQueryCache bool + type SeriersValueType interface + type Series struct + Values []interface{} + type SeriesArray []*Series + type SeriesGroup struct + GroupIndex []int + GroupValues []interface{} + Schemas common.ColumnSchemas + Series SeriesArray + func Group(seriesArray SeriesArray, groupIndex []int, schema common.ColumnSchemas) (groups []*SeriesGroup) + type SeriesSort struct + Reverse []bool + Schemas common.ColumnSchemas + Series SeriesArray + SortIndex []int + func (s *SeriesSort) Len() int + func (s *SeriesSort) Less(i, j int) bool + func (s *SeriesSort) Swap(i, j int)