Able to save and retrieve records (Artist, Album, Genre, etc.)

This commit is contained in:
kdeng00
2019-09-02 13:59:49 -04:00
parent fafb39326b
commit 4306c174b3
26 changed files with 522 additions and 34 deletions
+6
View File
@@ -3,6 +3,7 @@
#include "database/base_repository.h"
#include "models/models.h"
#include "types/genreFilter.h"
namespace Database
{
@@ -10,7 +11,12 @@ namespace Database
{
public:
genreRepository(const Model::BinaryPath&);
Model::Genre retrieveRecord(Model::Genre&, Type::genreFilter);
void saveRecord(const Model::Genre&);
private:
Model::Genre parseRecord(MYSQL_RES*);
};
}