fix: display partition tables hierarchically
This commit is contained in:
1 parent
396b168a9c
commit
fa08ed56a0
19 files changed
+439
-44
No files matched your search
@@ -227,6 +227,8 @@ pub async fn list_tables(pool: &SqliteHandle, _schema: &str) -> Result<Vec<Table
|
||||
name: row.get(0)?,
|
||||
table_type: if table_type == "view" { "VIEW".to_string() } else { "BASE TABLE".to_string() },
|
||||
comment: None,
|
||||
parent_schema: None,
|
||||
parent_name: None,
|
||||
})
|
||||
})
|
||||
.map_err(|e| e.to_string())?;
|
||||
|
||||
Reference in new issue
Block a user