feat: 数据管理支持切换 CellData 数据库

This commit is contained in:
2026-06-25 02:32:08 +08:00
parent 758741464d
commit 4f90000c36
6 changed files with 182 additions and 42 deletions
+4
View File
@@ -22,6 +22,10 @@ def make_warehouse(config: AppConfig):
return DatabaseManager(config)
def make_cell_data_warehouse(config: AppConfig):
return DatabaseManager(config, config.cell_data.normalized().mysql)
def _quote_ident(name: str) -> str:
return "`" + str(name).replace("`", "``") + "`"