feat: 数据管理支持切换 CellData 数据库
This commit is contained in:
@@ -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("`", "``") + "`"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user