fix(mongodb): guard aggregate execution paths
This commit is contained in:
1 parent
c56bcb8e2d
commit
5ea146e08e
19 files changed
+166
-26
No files matched your search
@@ -399,14 +399,7 @@ pub async fn list_tables_core(
|
||||
}
|
||||
|
||||
fn collection_names_to_tables(names: Vec<String>, table_type: &str) -> Vec<db::TableInfo> {
|
||||
names
|
||||
.into_iter()
|
||||
.map(|name| db::TableInfo {
|
||||
name,
|
||||
table_type: table_type.to_string(),
|
||||
comment: None,
|
||||
})
|
||||
.collect()
|
||||
names.into_iter().map(|name| db::TableInfo { name, table_type: table_type.to_string(), comment: None }).collect()
|
||||
}
|
||||
|
||||
fn filter_table_infos(tables: Vec<db::TableInfo>, filter: Option<&str>, limit: Option<usize>) -> Vec<db::TableInfo> {
|
||||
|
||||
Reference in new issue
Block a user