Update db_engine.h
This commit is contained in:
parent
a966090eea
commit
68263bd013
1 changed files with 10 additions and 3 deletions
13
db_engine.h
13
db_engine.h
|
@ -1,12 +1,19 @@
|
|||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class db_engine {
|
||||
//member variables
|
||||
vector<string> cmdList;
|
||||
//vector<vector<string>> table;
|
||||
|
||||
public:
|
||||
db_engine();
|
||||
void createCmd();
|
||||
void createCmd(string tableName, vector<string> attributes, vector<string> pkeys);
|
||||
//void openCmd();
|
||||
void saveCmd();
|
||||
void showCmd();
|
||||
void showCmd(string tableName);
|
||||
void insertQuery();
|
||||
void deleteQuery();
|
||||
void selectQuery();
|
||||
|
|
Reference in a new issue