I have the following code:
void DB_Series_Base::doInsert(pqxx::connection &conn, Series &obj) { pqxx::work work {conn}; string sql { string{"