-
-
Notifications
You must be signed in to change notification settings - Fork 339
Closed
Labels
Description
Hi,
from the join example
auto rows = storage2.select(columns(&Doctor::id, &Doctor::name, &Visit::patientName, &Visit::vdate),
left_join<Visit>(on(c(&Doctor::id) == &Visit::doctorId)));
for(auto &row : rows) {
cout << std::get<0>(row) << '\t' << std::get<1>(row) << '\t' << std::get<2>(row) << '\t' << std::get<3>(row) << endl;
}
cout << endl;
rows is a std::vector<std::tuple<Columns...>>
. it would be nice if the same query would be possible with iterate
to get a view over std::tuple<Columns...>
instead.