TDengine 查
x/tdengineQuery组件:v0.37.0+执行 TDengine SQL 查询并返回结果。适合做时序回读、对账和查询分析。
需要额外引入扩展库: rulego-components-iot (opens new window)
# 配置
| 字段 | 类型 | 说明 | 默认值 |
|---|---|---|---|
| dsn | string | DSN,格式 root:taosdata@http(localhost:6041)/。支持 ref:// 复用同链连接 | 必填 |
| db | string | 数据库名,支持 ${msg.xx}/${metadata.xx} 模板 | 必填 |
| query | string | SQL 查询语句,支持 ${msg.xx}/${metadata.xx} 模板 | 必填 |
在 GitHub 上编辑此页 (opens new window)
上次更新: 2026/07/29, 08:03:51