Project

General

Profile

Download (603 Bytes) Statistics
| Branch: | Tag: | Revision:

#include <iostream>
#include <tuple>

#include "DBManager.h"


int main(int argc, char** argv)
{
std::cout << "SQLite Proof of Concept Exerciser" << std::endl;

DBManager db_mgr("database.db");
db_mgr.test();
//~ std::tuple<std::string, int, double> foo{"hello", 120, 3.14};
//~ db_mgr.func(foo);
//~ visit_at(foo, 1, 18);
std::string query("SELECT Number FROM sample;");
int rc(0);
auto results = db_mgr.execute_query<std::tuple<int64_t>>(query, rc);
std::cout << "Return code: " << rc << std::endl;
return 0;
}
(5-5/5)