Fix additional RecordSet examples in Poco Data

This commit is contained in:
Pascal Bach 2014-02-27 10:48:45 +01:00
parent a7f17f3161
commit 3f59866f21

View File

@ -857,12 +857,12 @@ As you may see above, <[RecordSet]> class comes with a full-blown C++
compatible iterator that allows the above loop to be turned into a compatible iterator that allows the above loop to be turned into a
one-liner: one-liner:
std::copy(rset.begin(), rset.end(), std::ostream_iterator<Row>(std::cout)); std::copy(rs.begin(), rs.end(), std::ostream_iterator<Row>(std::cout));
---- ----
RecordSet has the stream operator defined, so this shortcut to the above functionality will work, too: RecordSet has the stream operator defined, so this shortcut to the above functionality will work, too:
std::cout << rset; std::cout << rs;
---- ----
The default formatter supplied with RecordSet is quite rudimentary, but The default formatter supplied with RecordSet is quite rudimentary, but