mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-07 13:41:11 -06:00
Added a bunch of table tests to select
And some hints regarding additional tests and how to turn them of for subselects
This commit is contained in:
@@ -61,13 +61,11 @@ int main()
|
||||
const std::string b = row.tabBar.beta;
|
||||
}
|
||||
|
||||
#warning this should fail because f is not in from()
|
||||
for (const auto& row : db(select(f.omega, all_of(t).as(t), t.gamma).from(t).where(true)))
|
||||
for (const auto& row : db(select(all_of(t).as(t), t.gamma).from(t).where(t.alpha > 7)))
|
||||
{
|
||||
int64_t a = row.tabBar.alpha;
|
||||
const std::string b = row.tabBar.beta;
|
||||
const bool g = row.gamma;
|
||||
const float o = row.omega;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user