feat: add IBM DB2 support (#10306)

### What problem does this PR solve?

issue:#5617
change:add IBM DB2 support in ExeSQL 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
buua436
2025-09-26 14:55:19 +08:00
committed by GitHub
parent ef59c5bab9
commit bd94b5dfb5
15 changed files with 136 additions and 30 deletions

View File

@ -2133,12 +2133,16 @@ export const QWeatherTimePeriodOptions = [
'30d',
];
export const ExeSQLOptions = ['mysql', 'postgres', 'mariadb', 'mssql'].map(
(x) => ({
label: upperFirst(x),
value: x,
}),
);
export const ExeSQLOptions = [
'mysql',
'postgres',
'mariadb',
'mssql',
'IBM DB2',
].map((x) => ({
label: upperFirst(x),
value: x,
}));
export const WenCaiQueryTypeOptions = [
'stock',

View File

@ -2133,12 +2133,16 @@ export const QWeatherTimePeriodOptions = [
'30d',
];
export const ExeSQLOptions = ['mysql', 'postgres', 'mariadb', 'mssql'].map(
(x) => ({
label: upperFirst(x),
value: x,
}),
);
export const ExeSQLOptions = [
'mysql',
'postgres',
'mariadb',
'mssql',
'IBM DB2',
].map((x) => ({
label: upperFirst(x),
value: x,
}));
export const WenCaiQueryTypeOptions = [
'stock',

View File

@ -2911,12 +2911,16 @@ export const QWeatherTimePeriodOptions = [
'30d',
];
export const ExeSQLOptions = ['mysql', 'postgres', 'mariadb', 'mssql'].map(
(x) => ({
label: upperFirst(x),
value: x,
}),
);
export const ExeSQLOptions = [
'mysql',
'postgres',
'mariadb',
'mssql',
'IBM DB2',
].map((x) => ({
label: upperFirst(x),
value: x,
}));
export const SwitchElseTo = 'end_cpn_id';