On 02/17/2012 05:37 AM, Neil Morgenstern wrote: > When you use vectors it is really buffered-reading and you call it in a > loop. It just lets you process multiple rows at a time rather than one > at a time.
Yes, understood. I have implemented the necessary loops and DB specific SQL. My code has doubled in line number. I guess I'll have to rather think about how to not let this become a maintenance nightmare... Is there any other way with SOCI? If for example, I know a result set will be relatively small (~1000 rows), is there a method that uses push_back or another data type to hold the results so I do not have to add looping code and database specific SQL? If not, so be it. No worries. I'm just asking in case I missed something in the docs. Thanks, Simon -- simonsmicrophone.com ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
