0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 21:04:15 +08:00
sqlpp11/test_scripts/ddl2cpp.cpp

26 lines
610 B
C++
Raw Normal View History

2016-06-11 03:53:16 +08:00
#include <sqlpp11/sqlpp11.h>
2016-06-11 06:36:42 +08:00
//#include "MockDb.h" //todo 1
#include "ddl2cpp_test.h"
#include <iostream>
2016-06-11 03:53:16 +08:00
int ddl2cpp(int, char* [])
{
2016-06-11 06:36:42 +08:00
std::cout << test_scripts_pythonPath; //included from cmake-generated header if python is found
/* maybe todo 1: test compile / db_mock, for now we're just testing that ddl2cpp generates header without errors
*/
/*
MockDb db = {};
MockDb::_serializer_context_t printer = {};
const auto f = test::TabFoo{};
const auto t = test::TabBar{};
const auto tab_a = f.as(sqlpp::alias::a);
getColumn(db, t._epsilon); //underscore bug check
*/
2016-06-11 03:53:16 +08:00
return 0;
}
2016-06-11 06:36:42 +08:00