[Cppcms-users] cppdb::result::get problem
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-04-30 00:20:42
|
Hello, Supposing I have a SELECT * FROM sometable st LEFT OUTER JOIN othertable ot ON (st.ot_id=ot.id) ... Then looping through the results using result::next() Why can't I access the results this way? r.get<string>("st.columnA") ? Imagine you want to get all the columns from both tables and some have duplicate column names such as - id or name Petr |