Update and rename db_engine.h to DBEngine.h
This commit is contained in:
parent
f5db5ac3ec
commit
d28e68beb0
1 changed files with 8 additions and 6 deletions
|
@ -1,19 +1,21 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include "Relation.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class db_engine {
|
class DBEngine {
|
||||||
vector<string> cmdList;
|
//member variables
|
||||||
//vector<vector<string>> table;
|
//NOT DONE
|
||||||
|
//vector<Relation> tables;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
db_engine();
|
DBEngine();
|
||||||
void createCmd(string tableName, vector<string> attributes, vector<string> pkeys);
|
void createCmd();
|
||||||
//void openCmd();
|
//void openCmd();
|
||||||
void saveCmd();
|
void saveCmd();
|
||||||
void showCmd(string tableName);
|
void showCmd();
|
||||||
void insertQuery();
|
void insertQuery();
|
||||||
void deleteQuery();
|
void deleteQuery();
|
||||||
void selectQuery();
|
void selectQuery();
|
Reference in a new issue