in my opinion, other than oracle, the vectors should be filled for each row
by call backs.

sql << "SELECT A1,A2,A3 FROM TABLE_1", into(a1_vector), into(a2_vector)

would it be possible that for each row, we call a function to fill a1_vector
and another function for a2_vector?

we would not need to cache the results neither to have everything as a
string.
and it would be a shortcut for the hand-coded loop, but would not be less
efficient.

could we have special case for db other than oracle?

best regards,
Sylvain
------------------------------------------------------------------------------
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

Reply via email to