database_sql

command
v2.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package iotdb_go_test demonstrates using the database/sql driver for Apache IoTDB.

The driver currently supports only IoTDB's tree model (TreeSqlDialect). It constructs a session pool via client.NewSessionPool which uses the tree SQL dialect. Table model (TableSqlDialect / TableSessionPool) is not yet supported through the database/sql interface.

The DSN format is:

iotdb://user:password@host:port?fetch_size=1024&time_zone=UTC&connect_retry_max=3

Supported query parameters: fetch_size, time_zone, connect_retry_max. Multiple hosts can be specified as comma-separated addresses in the DSN.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL