Commit graph

3 commits

Author SHA1 Message Date
guoqiang.yu c80e8ca7a0 fix #1097 SqlDriver: Database type mssql is not supported 2025-07-11 12:59:09 +08:00
Joanna Ren b557342bb1 Refactor SQL Driver Plugin and Update Database Handling
- Added a new folder for helpers in the project file.
- Removed the `SqlDriverHelper` class and its `GetDatabaseType` method.
- Updated `SqlDriverAgentHook` to retrieve database type directly from `SqlStatement`.
- Enhanced `SqlStatement` with new properties: `DBProvider`, `Schema`, and `Tables`.
- Removed registration of `SqlDriverAgentHook` in `SqlDriverPlugin`.
- Cleaned up global using directives by removing `Helpers`.
- Modified `GetTableDefinitionFn` to accept a schema parameter for Redshift queries.
- Updated `SqlSelect` to use `DBProvider` from `SqlStatement`.
- Revised JSON schema definitions to require `db_provider` and `schema`.
- Clarified Liquid template instructions for database connections and SQL execution.
- Streamlined rules for calling `util-db-verify_dictionary_term`.
2025-06-10 16:55:33 -05:00
Jicheng Lu 8b7f80488b refine utility name 2024-12-04 16:12:02 -06:00