On 1/15/2013 15:28, Warren Young wrote:
> On 1/15/2013 14:23, Jordan Hewitt wrote:
>> query.execute();
>> ...
>> query.reset();
>> ...
>> while(query.more_results())
Forgot to mention one thing:
I cut your code up this way because even if it turns out you *are* using
template multiqueries, so you *do* need to reset the query and call
more_results(), you'd want to reset the Query object *after* you finish
consuming all the results.
Query::reset() is the last thing you call before you go and use the
Query object for something else entirely, if it's needed at all.