mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
Fix additional RecordSet examples in Poco Data
This commit is contained in:
parent
a7f17f3161
commit
3f59866f21
@ -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
|
||||
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:
|
||||
|
||||
std::cout << rset;
|
||||
std::cout << rs;
|
||||
----
|
||||
|
||||
The default formatter supplied with RecordSet is quite rudimentary, but
|
||||
|
Loading…
Reference in New Issue
Block a user