Function get_constraints_for_tables

Source
pub async fn get_constraints_for_tables(
    client: &mut Client,
    schema_table_list: impl Iterator<Item = &(Arc<str>, Arc<str>)>,
) -> Result<BTreeMap<(Arc<str>, Arc<str>), Vec<SqlServerTableConstraintRaw>>, SqlServerError>
Expand description

Retrieve primary key and unique constraints for the given tables. Tables should be provided as an interator of tuples, where each tuple contains is (schema_name, table_name).