Added python code generator as an example

This commit is contained in:
rbock
2014-01-28 20:53:22 +01:00
parent 375dec25f8
commit ec2a8587d4
11 changed files with 259 additions and 216 deletions

View File

@@ -23,7 +23,7 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "TabSample.h"
#include "Sample.h"
#include "MockDb.h"
#include <sqlpp11/alias_provider.h>
#include <sqlpp11/insert.h>
@@ -40,8 +40,8 @@ SQLPP_ALIAS_PROVIDER(kaesekuchen);
int main()
{
TabSample t;
TabFoo f;
test::TabFoo f;
test::TabBar t;
interpret(insert_into(t).columns(t.gamma, t.beta), printer).flush();
interpret(insert_into(t).columns(t.gamma, t.beta).add_values(t.gamma = true, t.beta = "cheesecake"), printer).flush();