Refine
This commit is contained in:
@@ -1815,7 +1815,7 @@ def query_all_record_by_date_property(query_date: str, type: str, property: str,
|
||||
# 构建 Flux 查询语句
|
||||
flux_query = f'''
|
||||
from(bucket: "{bucket}")
|
||||
|> range(start: {start_time.isoformat()}, stop: {stop_time.isoformat()})
|
||||
|> range(start: {start_time}, stop: {stop_time})
|
||||
|> filter(fn: (r) =>
|
||||
r._measurement == "{measurement}" and
|
||||
r._field == "{property}"
|
||||
|
||||
Reference in New Issue
Block a user