Skip to main content

current_user_version

Function current_user_version 

Source
pub fn current_user_version(conn: &Connection) -> Result<i64, CoreError>
Expand description

Read the current PRAGMA user_version from the connection.

Returns 0 on a fresh DB (before the pragma is set).