Usage of soci library to query a MySQL database