<div dir="ltr"><div>Hey, I am using pqxx for C++. <br></div><div>However when I try to get the points of a patch(I am currently using the same tables as the examples on the Readme) I get always a string. Is there a smarter way to get it done without parsing? <br></div><div><br></div><div>This is my code: <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>#include <iostream><br>#include <pqxx/pqxx><br><br><br>int main(int, char *argv[])<br>{<br> pqxx::connection c;<br> pqxx::work txn(c);<br><br> pqxx::result r = txn.exec("select (pc_get(pc_explode(pa))) from patches ;");<br><br> std::cout << r.size() << std::endl;<br><br> for(const auto &q : r){<br> for( const auto &m : q){<br> std::cout << m << std::endl;<br> } <br> }<br>}<br></div></blockquote><div><div><br></div><div>I have tried using the binary functions, but I can't really decode the data. Is there an example of that somewhere?. <br></div><div><br></div><div>Thank you very much, <br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><b>David Serret </b>- R&D Engineer at Eigen Dynamics SL<br><img src="http://www.eigendynamics.com/wp-content/uploads/2017/02/EigenLogo200dpi-1.jpg" width="200" height="88"></div></div>
</div></div></div>