Function ejdbformatversion

Source
pub unsafe extern "C" fn ejdbformatversion(jb: *mut EJDB) -> u32
Expand description

Return EJDB database format version.

Format version number uses the following convention: 100000 * major + 1000 * minor + patch.

Return 0

  • Database is not opened
  • Database was created by libejdb < v1.2.8 and opened in read-only mode.