fix for duplicate records being saved. I'm going to continually monitor it, some minor changes might need to be made. The changes are changing to prepared statements for queries

This commit is contained in:
kdeng00
2019-09-04 23:48:37 -04:00
parent d4e9b8c71f
commit 5b9f2a0505
8 changed files with 265 additions and 24 deletions
+2
View File
@@ -70,4 +70,6 @@ void database::BaseRepository::initializeDetails(const model::BinaryPath& bConf)
details.server = databaseConfig["server"].get<std::string>();
details.username = databaseConfig["username"].get<std::string>();
details.password = databaseConfig["password"].get<std::string>();
std::cout << "retrieved database details" << std::endl;
}