collection resolver progress
This commit is contained in:
@@ -39,6 +39,16 @@ query_result_impl::on_attribute(const char *id, utils::value &val, const utils::
|
||||
reader_->read_value(id, column_index_++, val, attr.size());
|
||||
}
|
||||
|
||||
bool query_result_impl::fetch(record &rec) {
|
||||
if (auto fetched = reader_->fetch(); !fetched.is_ok() || !*fetched) {
|
||||
return false;
|
||||
}
|
||||
|
||||
column_index_ = reader_->start_column_index();
|
||||
access::process(*this, rec);
|
||||
return true;
|
||||
}
|
||||
|
||||
const std::vector<object::attribute> &query_result_impl::prototype() const {
|
||||
return prototype_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user