23 lines
517 B
C++
23 lines
517 B
C++
#ifndef SQLITE_FILE_EXECUTOR_INTERFASE_H
|
|
#define SQLITE_FILE_EXECUTOR_INTERFASE_H
|
|
|
|
#include "sql_file_executor_interfase.h"
|
|
|
|
#include "file_reader.h"
|
|
#include "sqlite_statement.h"
|
|
#include <string>
|
|
|
|
class SQLiteFileExecutor : public SQLFileExecutorInterface, public FileReader {
|
|
private:
|
|
sqlite3 *db_;
|
|
|
|
public:
|
|
SQLiteFileExecutor(const std::string &dbPath);
|
|
~SQLiteFileExecutor() override;
|
|
|
|
public:
|
|
void executeSQLFile(const std::string &sqlFilePath) override;
|
|
};
|
|
|
|
#endif // !SQLITE_FILE_EXECUTOR_INTERFASE_H
|