diff --git a/documentation/tdenginedocs-cn/connector/index.html b/documentation/tdenginedocs-cn/connector/index.html index 3167c1521f099f8acd7ae237cc37bd5867ee209a..0590d075646abb321c153be0e5fd80ab2a68a9dd 100644 --- a/documentation/tdenginedocs-cn/connector/index.html +++ b/documentation/tdenginedocs-cn/connector/index.html @@ -176,7 +176,7 @@ for irow in range(numOfRows): # 直接使用cursor 循环拉取查询结果 c1.execute('select * from tb') for data in c1: - print("ts=%s, temperature=%d, humidity=%f" %(data[0], data[1],data[2]) + print("ts=%s, temperature=%d, humidity=%f" %(data[0], data[1],data[2]))
@@ -259,4 +259,4 @@ conn.close()
_ "taosSql"
)
taosSql驱动包内采用cgo模式,调用了TDengine的C/C++同步接口,与TDengine进行交互,因此,在数据库操作执行完成之前,客户端应用将处于阻塞状态。单个数据库连接,在同一时刻只能有一个线程调用API。客户应用可以建立多个连接,进行多线程的数据写入或查询处理。
-更多使用的细节,请参考下载目录中的示例源码。
回去