Function get_max_lsn

Source
pub async fn get_max_lsn(client: &mut Client) -> Result<Lsn, SqlServerError>
Expand description

Returns the maximum log sequence number for the entire database. This implementation relies on CDC, which is asynchronous, so may return an LSN that is less than the maximum LSN of SQL server.

See: