refactor: sql server support selecting compatibility with lower versions

This commit is contained in:
junjun
2026-02-02 14:07:06 +08:00
committed by Junjun
parent 16617a0336
commit 19c38321c0
6 changed files with 46 additions and 14 deletions
+3 -1
View File
@@ -120,6 +120,7 @@ class DatasourceConf(BaseModel):
sheets: List = ''
mode: str = ''
timeout: int = 30
lowVersion: bool = False
def to_dict(self):
return {
@@ -134,7 +135,8 @@ class DatasourceConf(BaseModel):
"filename": self.filename,
"sheets": self.sheets,
"mode": self.mode,
"timeout": self.timeout
"timeout": self.timeout,
"lowVersion": self.lowVersion
}