On Sat, 2010-12-25 at 17:56 +0100, Sylvain Pointeau wrote: > Hi, > > > when I am using into(std::vector) the program crashes. > I did guess that I should call a resize to have my vector initialized > with a size... > > > so it works now, but if I resize with 20, I get only 20. How to know > in advance the size of a request? > or how to loop until to have read all elements by chunk of 20? > > > Best regards, > Sylvain
see the documentation on bulk operations the last example should be your case. http://soci.sourceforge.net/doc/statements.html
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
