|
|
@ -9,7 +9,7 @@ int main() { |
|
|
|
|
|
|
|
|
|
|
|
SQLite3 mydb("../example/example.db", false); |
|
|
|
SQLite3 mydb("../example/example.db", false); |
|
|
|
|
|
|
|
|
|
|
|
auto res = mydb.query("Select * from Tab1 Where id > ?", {"3"}); |
|
|
|
auto res = mydb.query("Select * from Tab1"); |
|
|
|
// cout << endl << res["NAME"][1];
|
|
|
|
// cout << endl << res["NAME"][1];
|
|
|
|
|
|
|
|
|
|
|
|
// cout << endl << res["MAIL"][1];
|
|
|
|
// cout << endl << res["MAIL"][1];
|
|
|
|