pub fn list_sql_unique_constraints<C: SqlConnection>(
conn: &C,
table_name: &str,
schema: Option<&str>,
) -> Result<Vec<SqlUniqueConstraintSchema>, IoError>Expand description
List UNIQUE constraints declared on a SQL table.
Matches SQLAlchemy.Inspector.get_unique_constraints() shape.
Surfaces only inline UNIQUE declarations and UNIQUE (...)
table constraints. User-created CREATE UNIQUE INDEX indexes
remain in list_sql_indexes (with unique == true). The two
listings are intentionally disjoint to match SQLAlchemy.
Per br-frankenpandas-sh4v (fd90.31).