feat: generalize URL params field to all database types and support oceanbase-oracle URL params

Remove the hardcoded 12-type whitelist for the URL params form field so all
database types (including agent-driven ones like oceanbase-oracle) can set
custom URL parameters. Also append url_params to oceanbase-oracle connection
URLs in the Rust backend (matching the existing Postgres/Redshift pattern).
This commit is contained in:
t8y2
2026-05-29 17:56:03 +08:00
parent ef4baba57a
commit 58f2942520
2 changed files with 7 additions and 19 deletions
@@ -1918,23 +1918,7 @@ function openExternalUrl(url: string) {
</label>
</div>
<div
v-if="
form.db_type === 'mysql' ||
form.db_type === 'postgres' ||
form.db_type === 'redshift' ||
form.db_type === 'informix' ||
form.db_type === 'kingbase' ||
form.db_type === 'highgo' ||
form.db_type === 'yashandb' ||
form.db_type === 'vastbase' ||
form.db_type === 'goldendb' ||
form.db_type === 'clickhouse' ||
form.db_type === 'saphana' ||
form.db_type === 'bigquery'
"
class="grid grid-cols-4 items-center gap-4"
>
<div class="grid grid-cols-4 items-center gap-4">
<Label class="text-right">{{ t("connection.urlParams") }}</Label>
<Input
v-model="form.url_params"