You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Configuration**: Define multiple DB keys in `config/dbinfo.json` with optional `type` (defaults to `mssql`) and connection fields. See examples above and in “Multi-Database Support (v2.0.0+)”.
463
+
-**Runtime DB selection precedence (v2.1.5+)**
464
+
- Default DB key: CLI `--db` > `excel.db`
465
+
- Per sheet: `sheet.db` overrides default DB
466
+
- Dynamic variables: `dynamicVar.database` or `dynamicVar.db` overrides default DB
467
+
-**Mixed-DB usage**: You can query different DBs within a single export. See “Multi-Database Support (v2.0.0+)” for XML/JSON examples.
468
+
-**Connection test**: Validate connectivity before export with `node src/excel-cli.js list-dbs` (dev) or `sql2excel.exe list-dbs` (EXE).
469
+
-**Adapter behavior**: Row limiting and functions are adapted per DB (e.g., MSSQL uses TOP, MySQL/MariaDB use LIMIT).
470
+
457
471
## 🎨 Template Style System
458
472
459
473
SQL2Excel includes a comprehensive template style system with pre-defined Excel styling templates.
@@ -824,7 +838,7 @@ This feature works automatically - no configuration required!
824
838
825
839
## 🎨 Advanced Features
826
840
827
-
### 1. Multi-Database Support (v1.3.0+)
841
+
### 1. Multi-Database Support (v2.0.0+)
828
842
829
843
SQL2Excel now supports multiple database types with a unified interface:
0 commit comments