fix(oracle): restore alias completion and DIP visibility
This commit is contained in:
18 files changed
+394
-61
No files matched your search
@@ -22,6 +22,7 @@ pub struct SchemaQuery {
|
||||
pub signature: Option<String>,
|
||||
pub object_types: Option<String>,
|
||||
pub apply_visible_filter: Option<bool>,
|
||||
pub client_session_id: Option<String>,
|
||||
}
|
||||
|
||||
pub async fn list_databases(
|
||||
@@ -300,9 +301,16 @@ pub async fn list_columns(
|
||||
.await
|
||||
.map_err(AppError)?
|
||||
} else {
|
||||
dbx_core::schema::get_columns_core(&state.app, &q.connection_id, database, schema, table)
|
||||
.await
|
||||
.map_err(AppError)?
|
||||
dbx_core::schema::get_columns_core_for_session(
|
||||
&state.app,
|
||||
&q.connection_id,
|
||||
database,
|
||||
schema,
|
||||
table,
|
||||
q.client_session_id.as_deref(),
|
||||
)
|
||||
.await
|
||||
.map_err(AppError)?
|
||||
};
|
||||
Ok(Json(serde_json::to_value(result).map_err(|e| AppError(e.to_string()))?))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user