feat(editor): add SQL semantic diagnostics
This commit is contained in:
1 parent
64c068bbf5
commit
0e189ba0cc
18 files changed
+997
-19
No files matched your search
@@ -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())
|
||||
}
|
||||
Reference in new issue
Block a user