Function get_ddl_history

Source
pub async fn get_ddl_history(
    client: &mut Client,
    capture_instance: &str,
    from_lsn: &Lsn,
    to_lsn: &Lsn,
) -> Result<BTreeMap<SqlServerQualifiedTableName, Vec<DDLEvent>>, SqlServerError>
Expand description

Returns DDL changes made to the source table for the given capture instance. This follows the same convention as cdc.fn_cdc_get_all_changes_<capture_instance>, in that the range is inclusive, i.e. [from_lsn, to_lsn]. The events are returned in ascending order of LSN.