Hello, I understand that when I write something like
std::vector<T> vec; sql << "select data from table" into vec; I wont' be getting much data as I need to size the vector. How do I determine the size of my vector if I want to be sure I will always have all the possible rows. Using a very high number seems to be inefficient. Writing a select count(*) comes to mind but it is twice the work in terms of typing... What's the proper solution? Thank you ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
