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/test.cpp

15 lines
335 B
C++
Raw Normal View History

2015-09-14 15:04:54 -05:00
#include <iostream>
2015-09-14 16:46:49 -05:00
#include "db_engine.h"
2015-09-14 15:04:54 -05:00
2015-09-14 18:31:05 -05:00
using namespace std;
2015-09-14 17:03:23 -05:00
int main() {
2015-09-14 16:46:49 -05:00
db_engine engine;
2015-09-14 18:31:05 -05:00
vector<string> attributes;
vector<string> pkeys;
attributes.push_back("username VARCHAR(20)");
attributes.push_back("password VARCHAR(20)");
pkeys.push_back("password");
engine.createCmd("users", attributes, pkeys);
2015-09-14 15:04:54 -05:00
}