Is it possible to use multiple user-defined types in single statement? The following code demonstrates what i whant to do:
Order o1; //has a type_conversion specialization Person p1; //has a type_conversion specialization too sql << "select * from order join person on(order.person_id = person.id)", into(o1), into(p1); assert(o1.person_id = p1.id); Currently i get the following exception at runtime: terminate called after throwing an instance of 'soci::soci_error' what(): Only one Row element allowed in a single statement. Is this possible in any way? Best regards, B.Sc. Daniel Walter -- Helm & Walter IT-Solutions Müglitztalstraße 63 D-01809 Dohna Tel.: +49 (3529) 2348055 Mobile: +49 (151) 21240211 Email: [email protected] WWW: https://www.helmundwalter.de ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
