feat(vector): add Qdrant/Milvus collection dimension display (#2396)

This commit is contained in:
lexmin0412 authored and GitHub committed 2026-07-02 12:08:30 +08:00
1 parent 0dc83f69b5
commit 24d952dc12
10 files changed
+171

No files matched your search

+10
View File
@@ -40,6 +40,16 @@ pub async fn mongo_list_collections(
dbx_core::mongo_ops::mongo_list_collections_core(&state, &connection_id, &database).await
}
#[tauri::command]
pub async fn vector_collection_detail(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
collection: String,
) -> Result<dbx_core::db::vector_driver::CollectionInfo, String> {
dbx_core::schema::get_vector_collection_detail_core(&state, &connection_id, &database, &collection).await
}
#[tauri::command]
pub async fn mongo_create_database(
state: State<'_, Arc<AppState>>,