Hi,
I defined a type_conversion struct for an entity called Student. Is it
possible to select into a vector<Student> using this mapper?
template<>
struct soci::type_conversion<Student>
{ .... }
std::vector<Student> students;
sql << "select * from Student", into(students);
Thanks.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users