Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

chore(sqlserver): expect too many arguments lint on index builder

zipgd0bce25b4b8c
diff --git a/crates/dbx-sql/src/table_structure_sql/indexes.rs b/crates/dbx-sql/src/table_structure_sql/indexes.rs
index 9ab1796a1e..8fea285188 100644
--- a/crates/dbx-sql/src/table_structure_sql/indexes.rs
+++ b/crates/dbx-sql/src/table_structure_sql/indexes.rs
@@ -424,7 +424,10 @@ pub(super) fn build_drop_index_sql(
format!("DROP INDEX {};", quote_ident(dialect, index_name))
}
-#[allow(clippy::too_many_arguments)]
+#[expect(
+ clippy::too_many_arguments,
+ reason = "The existing index builder API passes independent structure-edit options"
+)]
pub(super) fn build_create_index_statements(
database_type: Option<DatabaseType>,
dialect: StructureDialect,