Feat: add trino support (#10512)

### What problem does this PR solve?
issue:
[#10296](https://github.com/infiniflow/ragflow/issues/10296)
change:
- ExeSQL: support connecting to Trino.
- Validation: password can be empty only when db_type === "trino";
  all other database types keep the existing requirement (non-empty).

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
buua436
2025-10-13 13:57:40 +08:00
committed by GitHub
parent 65c3f0406c
commit 4e6b84bb41
4 changed files with 104 additions and 7 deletions

View File

@ -2139,6 +2139,7 @@ export const ExeSQLOptions = [
'mariadb',
'mssql',
'IBM DB2',
'trino',
].map((x) => ({
label: upperFirst(x),
value: x,