|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import { DATA_BASE_TYPES } from '@constants/constant'; |
|
|
|
|
import { DATA_BASE_TYPES, DATA_BASE_TYPES_OTHER } from '@constants/constant'; |
|
|
|
|
import { CONSTANT_PLUGIN_TYPES, CONSTANT_PLUGIN_SHOW, CONSTANT_PLUGIN_EDIT } from '@constants/plugin'; |
|
|
|
|
import { DatabaseType } from './app.typings'; |
|
|
|
|
export function getAllDatabaseTypes():DatabaseType[] { |
|
|
|
@ -37,9 +37,7 @@ export function getJdbcDatabaseType(database: string, driver: string): DatabaseT
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
if (!databaseType) { |
|
|
|
|
BI.Msg.toast(BI.i18nText('Dec-Dcm_Connection_Driver_Unable_Recognize', driver), { |
|
|
|
|
level: 'error', |
|
|
|
|
}); |
|
|
|
|
return DATA_BASE_TYPES_OTHER; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return databaseType; |
|
|
|
|