From 934e7d22b43247ebe7ec5f4990814117baab7fda Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 23 May 2015 21:38:20 +0200 Subject: UpdateQuery finish --- engine.cpp | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 60 insertions(+), 14 deletions(-) (limited to 'engine.cpp') diff --git a/engine.cpp b/engine.cpp index 568245b..ea81602 100644 --- a/engine.cpp +++ b/engine.cpp @@ -44,6 +44,20 @@ int main(int argc,char **argv){ Table *hoitb=&tables.at("hoi"); + + + //Shitty. Works. +#define FINDQUERYEVERYTHING(PAR_tnm) \ + { \ + FindQuery fqu; \ + fqu.tablename= PAR_tnm ; \ + QueryResult res=fqu.execute(tables); \ + cout<<"Find in \"" PAR_tnm "\", Result: "<20, Result: "<12345, Result: "<