feat(structure): show table constraints for postgres-compatible dbs

This commit is contained in:
amwps290 authored and GitHub committed 2026-08-28 12:14:04 +08:00
1 parent 7ad05b178f
commit 20a2994fa1
37 files changed
+2725 -156

No files matched your search

+2
View File
@@ -497,7 +497,9 @@ pub async fn list_constraints(
database: String,
schema: String,
table: String,
catalog: Option<String>,
) -> Result<Vec<dbx_core::db::ConstraintInfo>, String> {
let _ = catalog;
dbx_core::schema::list_constraints_core(&state, &connection_id, &database, &schema, &table).await
}