Module version
Available on crate feature
provider
only.Expand description
Database version utils.
Enums§
- Database
Version Error - Error when checking a database version using
check_db_version_file
Constants§
- DB_
VERSION - The version of the database stored in the
DB_VERSION_FILE_NAME
file in the same directory as database. - DB_
VERSION_ FILE_ NAME - The name of the file that contains the version of the database.
Functions§
- check_
db_ version_ file - Checks the database version file with
DB_VERSION_FILE_NAME
name. - create_
db_ version_ file - Creates a database version file with
DB_VERSION_FILE_NAME
name containingDB_VERSION
string. - db_
version_ file_ path - Returns a database version file path.
- get_
db_ version - Returns the database version from file with
DB_VERSION_FILE_NAME
name.