fix(sqlserver): honor USE context in completions

This commit is contained in:
guoyongchang authored and GitHub committed 2026-07-31 21:22:31 +08:00
1 parent f64d363abe
commit 486a73ef09
16 files changed
+974 -114

No files matched your search

+9
View File
@@ -28,6 +28,15 @@ pub async fn list_database_storage(
dbx_core::schema::list_database_storage_core(&state, &connection_id, &databases).await
}
#[tauri::command]
pub async fn get_sqlserver_completion_context(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
) -> Result<db::sqlserver::SqlServerCompletionContext, String> {
dbx_core::schema::get_sqlserver_completion_context_core(&state, &connection_id, &database).await
}
#[tauri::command]
pub async fn list_doris_catalogs(
state: State<'_, Arc<AppState>>,