Parkmanne/db.cpp
2019-06-24 21:09:33 -03:00

21 lines
294 B
C++

#include "headers/db.h"
namespace db
{
static int callback(void *NotUsed, int argc, char **argv, char **azColName){
int i;
for(i=0; i<argc; i++)
{
std::cout<<azColName[i]<<" = " << (argv[i] ? argv[i] : "NULL")<<"\n";
}
std::cout<<"\n";
return 0;
}
// sqlite3_close(db);
}