mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-28 10:33:23 +08:00
fix: too many connect error (#71)
* add fetch all struct * add other database implement * rename method name * adjust the order of functions * eslint * eslint * eslint * eslint * eslint * fix error end when fetch schema batch
This commit is contained in:
@ -16,6 +16,11 @@ export interface Connector {
|
||||
tableName: string,
|
||||
structureFetched: (tableName: string, structure: string) => void
|
||||
) => Promise<void>;
|
||||
getTableStructureBatch: (
|
||||
databaseName: string,
|
||||
tableNameList: string[],
|
||||
structureFetched: (tableName: string, structure: string) => void
|
||||
) => Promise<void>;
|
||||
}
|
||||
|
||||
export const newConnector = (connection: Connection): Connector => {
|
||||
|
Reference in New Issue
Block a user