feat: add Microsoft Access database support

Add Access as a new database type with agent-based connectivity,
UCanAccess JDBC URL parsing, backtick identifier quoting, file-path
connection dialog, and PNG icons for Access/GoldenDB/Vastbase.
This commit is contained in:
t8y2 committed 2026-05-17 09:57:04 +08:00
1 parent 381c92ff53
commit 1bcfd02de1
26 files changed
+185 -22

No files matched your search

+3
View File
@@ -120,6 +120,7 @@ pub enum DatabaseType {
Vastbase,
Goldendb,
Gaussdb,
Access,
#[serde(rename = "h2")]
H2,
Snowflake,
@@ -213,6 +214,7 @@ impl ConnectionConfig {
DatabaseType::Sqlite | DatabaseType::DuckDb => {
format!("{}?mode=rwc", self.host)
}
DatabaseType::Access => self.host.clone(),
DatabaseType::Redis => {
let scheme = if self.ssl { "rediss" } else { "redis" };
format!("{scheme}://{host}:{port}/")
@@ -284,6 +286,7 @@ impl ConnectionConfig {
DatabaseType::Sqlite | DatabaseType::DuckDb => {
format!("{}?mode=rwc", self.host)
}
DatabaseType::Access => self.host.clone(),
DatabaseType::Redis => {
let scheme = if self.ssl { "rediss" } else { "redis" };
if self.username.is_empty() && self.password.is_empty() {