Replace clear global response string

This commit is contained in:
marcelb 2023-07-27 22:25:39 +02:00
parent f6c8443c5d
commit 3a67bf47c2
2 changed files with 7 additions and 2 deletions

View File

@ -8,12 +8,17 @@ int main() {
sql3 mydb("../example/example.db", false);
//cout << mydb.ask("Select * from Tab1");
// cout << mydb.ask("Select * from Tab1");
// cout << mydb.ask("INSERT INTO Tab1 VALUES(3,'Pakora', 'marijanab@bitelex.ml');");
auto res = mydb.query("Select * from Tab1");
cout << endl << res["NAME"][0];
for (auto i : res)
for (auto j: i.second)
cout << i.first << " : " << j << endl;
// cout << endl << res["NAME"][1];
return 0;
}

Binary file not shown.