Started to move statement-specific methods into the result provider classes

First method is: select_t::as()
This commit is contained in:
rbock
2014-05-27 11:20:03 +02:00
parent 45ff16600f
commit a5457e93f7
4 changed files with 40 additions and 17 deletions

View File

@@ -10,8 +10,8 @@ endmacro ()
#build_and_run(InsertTest)
#build_and_run(RemoveTest)
#build_and_run(UpdateTest)
#build_and_run(SelectTest)
build_and_run(SelectTypeTest)
build_and_run(SelectTest)
#build_and_run(SelectTypeTest)
#build_and_run(FunctionTest)
#build_and_run(PreparedTest)

View File

@@ -83,5 +83,8 @@ int main()
int64_t a = row.alpha;
}
auto X = select(all_of(t)).from(t).as(t.alpha);
return 0;
}