template<typename R>
class ost::db::RowSet< R >
Row set iterator.
Row set iterators let you iterate over a set of rows as returned by a select statements. The parametrisable type R is the type that should be used for each row. For the standard types such as int and strings, conversion routines are available. For your custom types, you have to write an overloaded version of SqlConvert()
ps->BindInt(num_legs)
for (RowSet<Animal> ani_it(ps); !ani_it.AtEnd(); ++ani_it) {
Animal& a=*ani_it;
std::cout << a.GetName() << std::endl;
}
boost::shared_ptr< PreparedStatement > PreparedStatementPtr
Definition at line 111 of file sqlite_wrap.hh.