feat(objects): add table statistics columns
This commit is contained in:
1 parent
4186c94dd4
commit
d59997c090
23 files changed
+360
-19
No files matched your search
@@ -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>>,
|
||||
|
||||
Reference in new issue
Block a user