MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / getDatabaseVersion

Method getDatabaseVersion

global.cpp:1193–1198  ·  view source on GitHub ↗

What version of the database are we using?

Source from the content-addressed store, hash-verified

1191
1192// What version of the database are we using?
1193int Global::getDatabaseVersion() {
1194 settings->beginGroup("SaveState");
1195 int value = settings->value("databaseVersion", 1).toInt();
1196 settings->endGroup();
1197 return value;
1198}
1199
1200
1201// What version of the database are we using?

Callers 1

DatabaseConnectionMethod · 0.80

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected