feat(editor): add SQL semantic diagnostics

This commit is contained in:
t8y2 committed 2026-05-22 14:22:58 +08:00
1 parent 64c068bbf5
commit 0e189ba0cc
18 files changed
+997 -19

No files matched your search

+8
View File
@@ -146,3 +146,11 @@ pub async fn execute_in_transaction(
)
.await
}
#[tauri::command]
pub async fn analyze_sql_references(
sql: String,
dialect: Option<String>,
) -> Result<dbx_core::sql_analysis::SqlReferenceAnalysis, String> {
dbx_core::sql_analysis::analyze_sql_references(&sql, dialect.as_deref())
}