mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-02 03:00:38 -06:00
The first recursive cte compiles
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user