Skip to content
Snippets Groups Projects

fill new thing_parser table

Open David Schäfer requested to merge multi-parser into main
1 unresolved thread
+ 2
1
@@ -311,7 +311,8 @@ def upsert_table_thing_parser(
r = conn.execute(
"""
SELECT tp.id, tp.thing_id, tp.file_parser_id, fp.params
FROM config_db.thing_parser tp JOIN config_db.file_parser fp on tp.file_parser_id = fp.id
FROM config_db.thing_parser tp
JOIN config_db.file_parser fp ON tp.file_parser_id = fp.id
WHERE tp.valid_to is NULL AND tp.file_parser_id = %s
""",
(file_parser_id,),
Loading