Skip to main content

current_schema_version

Function current_schema_version 

Source
pub fn current_schema_version(conn: &Connection) -> Result<u32>
Expand description

Read PRAGMA user_version and convert it to a Rust u32.

ยงErrors

Returns an error if querying SQLite fails or the version value cannot be represented as u32.