25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
style(dbx-core): 统一 Rust 代码格式
Bacon2994e1d899372581
diff --git a/crates/dbx-core/src/schema.rs b/crates/dbx-core/src/schema.rsindex 375e57af8a..5d5ec40deb 100644--- a/crates/dbx-core/src/schema.rs+++ b/crates/dbx-core/src/schema.rs@@ -10,11 +10,7 @@ pub fn duckdb_query_tables(con: &duckdb::Connection) -> Result<Vec<db::TableInfo).map_err(|e| e.to_string())?;let rows = stmt.query_map([], |row| {- Ok(db::TableInfo {- name: row.get::<_, String>(0)?,- table_type: row.get::<_, String>(1)?,- comment: None,- })+ Ok(db::TableInfo { name: row.get::<_, String>(0)?, table_type: row.get::<_, String>(1)?, comment: None })}).map_err(|e| e.to_string())?;Ok(rows.filter_map(|r| r.ok()).collect())