新增pg和timescaledb的复合查询方法,用于查询 scada 关联的模拟、原始、清洗数据

This commit is contained in:
JIANG
2025-12-05 15:56:57 +08:00
parent 97ea829f6d
commit 4231243b96
4 changed files with 309 additions and 15 deletions

View File

@@ -94,7 +94,6 @@ class RealtimeRepository:
conn: AsyncConnection,
start_time: datetime,
end_time: datetime,
link_id: str,
field: str,
) -> Any:
# Validate field name to prevent SQL injection