Versions in this module Expand all Collapse all v2 v2.0.10 Aug 21, 2026 Changes in this version + var ErrAcquireConnNoAddress = errors.New("iotdb: no valid address supplied") + var ErrAcquireConnTimeout = errors.New(...) + var ErrBatchAlreadySent = errors.New("iotdb: batch has already been sent") + var ErrBatchInvalid = errors.New("iotdb: batch is invalid. check appended data is correct") + var ErrBatchNotSent = errors.New("iotdb: invalid retry, batch not sent yet") + var ErrBindMixedParamsFormats = errors.New("iotdb [bind]: mixed named, numeric or positional parameters") + var ErrConnectionClosed = errors.New("iotdb: connection is closed") + var ErrInvalidTimezone = errors.New("invalid timezone value") + var ErrInvalidValueInNamedDateValue = errors.New("invalid value in NamedDateValue for query parameter") + var ErrServerUnexpectedData = errors.New("code: 101, message: Unexpected packet Data received from client") + var ErrTransactionsUnsupported = errors.New("iotdb: transactions are not supported") + var ErrUnsupportedQueryParameter = errors.New("unsupported query parameter type") + var ErrUnsupportedServerRevision = errors.New("iotdb: unsupported server revision") + func DateNamed(name string, value time.Time, scale TimeUnit) driver.NamedDateValue + func Named(name string, value any) driver.NamedValue + type ArraySet []any + type AsyncOptions struct + type ClientInfo struct + Comment []string + Products []struct{ ... } + func (a ClientInfo) Append(b ClientInfo) ClientInfo + type ColumnNameAndType struct + Name string + Type string + type ConnOpenStrategy uint8 + const ConnOpenInOrder + const ConnOpenRandom + const ConnOpenRoundRobin + type GroupSet struct + Value []any + type Options struct + Addr []string + ClientInfo ClientInfo + ConnOpenStrategy ConnOpenStrategy + Debug bool + Debugf func(format string, v ...any) + DialContext func(ctx context.Context, addr string) (net.Conn, error) + DialTimeout time.Duration + PoolConnectionTimeoutInMs *int + PoolEnableCompression *bool + PoolMaxSize *int + PoolWaitToGetSessionTimeoutInMs *int + TLS *tls.Config + func ParseDSN(dsn string) (*Options, error) + type Parameters map[string]string + type QueryOption func(*QueryOptions) error + type QueryOptions struct + type Settings map[string]any + type TimeUnit uint8 + const MicroSeconds + const MilliSeconds + const NanoSeconds + const Seconds