使用sql.prepare获取多行结果
rowset<row> rs = (sql.prepare << "select * from tb_test");
for(rowset<row>::iterator it = rs.begin();it != rs.end();it++){
const row& r = *it;
cout << "id : " << r.get<int>(0)
<< " name : " << r.get<string>(1)
<< endl;
}