This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
dmspine64backup/db_engine.h

24 lines
482 B
C
Raw Normal View History

2015-09-14 16:46:49 -05:00
#include <fstream>
2015-09-14 16:25:22 -05:00
#include <iostream>
#include <vector>
2015-09-14 18:31:05 -05:00
using namespace std;
2015-09-14 17:03:23 -05:00
class db_engine {
2015-09-14 18:31:05 -05:00
vector<string> cmdList;
//vector<vector<string>> table;
2015-09-14 15:04:54 -05:00
public:
db_engine();
2015-09-14 18:31:05 -05:00
void createCmd(string tableName, vector<string> attributes, vector<string> pkeys);
2015-09-14 15:23:06 -05:00
//void openCmd();
void saveCmd();
2015-09-14 18:31:05 -05:00
void showCmd(string tableName);
2015-09-14 15:23:06 -05:00
void insertQuery();
void deleteQuery();
void selectQuery();
void projectQuery();
void productQuery();
bool unionComp();
2015-09-14 15:04:54 -05:00
};