mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-14 13:18:06 +00:00
19 lines
414 B
Python
19 lines
414 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from typing import Optional, Any
|
|
|
|
from pilot.connections.rdbms.rdbms_connect import RDBMSDatabase
|
|
|
|
|
|
class MSSQLConnect(RDBMSDatabase):
|
|
"""Connect MSSQL Database fetch MetaData
|
|
Args:
|
|
Usage:
|
|
"""
|
|
|
|
type: str = "MSSQL"
|
|
dialect: str = "mssql"
|
|
driver: str = "pyodbc"
|
|
|
|
default_db = ["master", "model", "msdb", "tempdb", "modeldb", "resource"]
|