Files
icarus/include/database/base_repository.h
T

21 lines
312 B
C++

#ifndef BASE_REPOSITORY_H_
#define BASE_REPOSITORY_H_
#include <string>
#include <mysql/mysql.h>
#include "models/models.h"
class base_repository
{
public:
protected:
MYSQL* setup_mysql_connection(database_connection);
MYSQL_RES* perform_mysql_query(MYSQL*, const std::string&);
private:
};
#endif