15 lines
No EOL
335 B
C++
Executable file
15 lines
No EOL
335 B
C++
Executable file
#include <iostream>
|
|
#include "db_engine.h"
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
db_engine engine;
|
|
|
|
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);
|
|
} |