Skip to main content

read_local_machine_id

Function read_local_machine_id 

Source
pub fn read_local_machine_id(conn: &Connection) -> Option<u64>
Expand description

Read this database’s local_machine_id setting, parsed as u64. Accepts either TEXT or BLOB storage so we tolerate values written by non-pxh tooling. Returns None if the setting is absent or unparseable – callers should fall back to non-watermarked behavior in that case.