mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
				synced 2025-11-03 20:18:01 +00:00 
			
		
		
		
	Fix additional RecordSet examples in Poco Data
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user