fix(oceanbase): show oracle mode schemas in sidebar
This commit is contained in:
1 parent
2dc71548c3
commit
dff94d60f5
10 files changed
+73
-23
No files matched your search
@@ -22,6 +22,7 @@ pub(in crate::schema) async fn list_databases(
|
||||
|
||||
pub(in crate::schema) async fn list_schemas(pool: &PoolKind) -> Result<Vec<String>, String> {
|
||||
match pool {
|
||||
PoolKind::Mysql(p, mode) if *mode == MysqlMode::OceanBaseOracle => db::ob_oracle::list_schemas(p).await,
|
||||
PoolKind::Postgres(p) => db::postgres::list_schemas(p).await,
|
||||
_ => Ok(vec![]),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user