Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
cf7261b2
TDengine
项目概览
taosdata
/
TDengine
大约 2 年 前同步成功
通知
1192
Star
22018
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
cf7261b2
编写于
3月 05, 2020
作者:
G
greysign
提交者:
GitHub
3月 05, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update index.html
缺少括号:)
上级
58efbd6b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
2 addition
and
2 deletion
+2
-2
documentation/tdenginedocs-cn/connector/index.html
documentation/tdenginedocs-cn/connector/index.html
+2
-2
未找到文件。
documentation/tdenginedocs-cn/connector/index.html
浏览文件 @
cf7261b2
...
...
@@ -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])
)
</pre></code>
<li>
关闭连接
</li>
<code><pre>
...
...
@@ -259,4 +259,4 @@ conn.close()
_ "taosSql"
)
</code></pre>
<p>
taosSql驱动包内采用cgo模式,调用了TDengine的C/C++同步接口,与TDengine进行交互,因此,在数据库操作执行完成之前,客户端应用将处于阻塞状态。单个数据库连接,在同一时刻只能有一个线程调用API。客户应用可以建立多个连接,进行多线程的数据写入或查询处理。
</p>
<p>
更多使用的细节,请参考下载目录中的示例源码。
</p><a
href=
'../index.html'
>
回去
</a></section></main></div>
<?php include($s.'/footer.php'); ?>
<script>
$
(
'
pre
'
).
addClass
(
'
prettyprint linenums
'
);
PR
.
prettyPrint
()
</script><script
src=
'lib/docs/liner.js'
></script></body></html>
\ No newline at end of file
<p>
更多使用的细节,请参考下载目录中的示例源码。
</p><a
href=
'../index.html'
>
回去
</a></section></main></div>
<?php include($s.'/footer.php'); ?>
<script>
$
(
'
pre
'
).
addClass
(
'
prettyprint linenums
'
);
PR
.
prettyPrint
()
</script><script
src=
'lib/docs/liner.js'
></script></body></html>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录