Refine
This commit is contained in:
@@ -2150,6 +2150,7 @@ if __name__ == "__main__":
|
|||||||
# step3: 查询测试示例
|
# step3: 查询测试示例
|
||||||
with InfluxDBClient(url=url, token=token, org=org_name, timeout=1000*10000) as client:
|
with InfluxDBClient(url=url, token=token, org=org_name, timeout=1000*10000) as client:
|
||||||
|
|
||||||
|
create_and_initialize_buckets(client=client, org_name=org_name)
|
||||||
# # 示例1:query_latest_record_by_ID
|
# # 示例1:query_latest_record_by_ID
|
||||||
# bucket_name = "realtime_simulation_result" # 数据存储的 bucket 名称
|
# bucket_name = "realtime_simulation_result" # 数据存储的 bucket 名称
|
||||||
# node_id = "ZBBDTZDP000022" # 查询的节点 ID
|
# node_id = "ZBBDTZDP000022" # 查询的节点 ID
|
||||||
|
|||||||
Reference in New Issue
Block a user