mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 20:20:59 -06:00
Added "real" cross join
This commit is contained in:
@@ -376,7 +376,7 @@ int SelectType(int, char* [])
|
||||
auto s1 = sqlpp::select()
|
||||
.flags(sqlpp::distinct, sqlpp::straight_join)
|
||||
.columns(l.gamma, r.a)
|
||||
.from(r.join(t).unconditionally().join(l).unconditionally())
|
||||
.from(r.cross_join(t).cross_join(l))
|
||||
.where(t.beta == "hello world" and select(t.gamma).from(t)) // .as(alias::right))
|
||||
.group_by(l.gamma, r.a)
|
||||
.having(r.a != true)
|
||||
|
||||
Reference in New Issue
Block a user