collection_resolver progress
This commit is contained in:
@@ -103,4 +103,7 @@ bool value::is_blob() const {
|
||||
bool value::is_null() const {
|
||||
return type_ == basic_type::Null;
|
||||
}
|
||||
const database_type &value::raw_value() const {
|
||||
return value_;
|
||||
}
|
||||
} // namespace matador::utils
|
||||
|
||||
@@ -59,6 +59,15 @@ const field &record::at(const size_t index) const
|
||||
return fields_.at(index);
|
||||
}
|
||||
|
||||
field &record::at(const std::string &name) {
|
||||
auto &[fst, snd] = fields_by_name_.at(name);
|
||||
return fst;
|
||||
}
|
||||
|
||||
field &record::at(const size_t index) {
|
||||
return fields_.at(index);
|
||||
}
|
||||
|
||||
record::iterator record::find(const std::string &column_name)
|
||||
{
|
||||
auto it = fields_by_name_.find(column_name);
|
||||
|
||||
Reference in New Issue
Block a user