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 <iostream>
|
||||
#include <vector>
|
||||
#include "Relation.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class db_engine {
|
||||
vector<string> cmdList;
|
||||
//vector<vector<string>> table;
|
||||
class DBEngine {
|
||||
//member variables
|
||||
//NOT DONE
|
||||
//vector<Relation> tables;
|
||||
|
||||
public:
|
||||
db_engine();
|
||||
void createCmd(string tableName, vector<string> attributes, vector<string> pkeys);
|
||||
DBEngine();
|
||||
void createCmd();
|
||||
//void openCmd();
|
||||
void saveCmd();
|
||||
void showCmd(string tableName);
|
||||
void showCmd();
|
||||
void insertQuery();
|
||||
void deleteQuery();
|
||||
void selectQuery();
|
Reference in a new issue