File size: 593 Bytes
f9ad313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""

Database module for the Schema-Agnostic Chatbot.



Provides:

- Database connection management

- Dynamic schema introspection

- Safe query execution

"""

from .connection import DatabaseConnection, get_db, db_connection
from .schema_introspector import (
    SchemaIntrospector,
    SchemaInfo,
    TableInfo,
    ColumnInfo,
    get_introspector,
    get_schema
)

__all__ = [
    "DatabaseConnection",
    "get_db",
    "db_connection",
    "SchemaIntrospector",
    "SchemaInfo",
    "TableInfo",
    "ColumnInfo",
    "get_introspector",
    "get_schema"
]