The first recursive cte compiles

This commit is contained in:
rbock
2015-02-08 19:47:33 +01:00
parent ee3d803c33
commit c4d77372cf
3 changed files with 62 additions and 12 deletions

View File

@@ -40,5 +40,8 @@ int main()
db(with(x)(select(x.alpha).from(x).where(true)));
auto y0 = cte(sqlpp::y).as(select(all_of(t)).from(t));
auto y = y0.union_all(select(all_of(y0)).from(y0).where(false));
return 0;
}