feat(objects): add table statistics columns

This commit is contained in:
t8y2 committed 2026-06-19 14:35:32 +08:00
1 parent 4186c94dd4
commit d59997c090
23 files changed
+360 -19

No files matched your search

+10
View File
@@ -106,6 +106,16 @@ pub async fn list_objects(
dbx_core::schema::list_objects_core(&state, &connection_id, &database, &schema).await
}
#[tauri::command]
pub async fn list_object_statistics(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
schema: String,
) -> Result<Vec<db::ObjectStatistics>, String> {
dbx_core::schema::list_object_statistics_core(&state, &connection_id, &database, &schema).await
}
#[tauri::command]
pub async fn list_completion_objects(
state: State<'_, Arc<AppState>>,