initial matador ng commit
This commit is contained in:
@@ -47,6 +47,16 @@ public:
|
||||
|
||||
[[nodiscard]] const field& at(const column &col) const;
|
||||
[[nodiscard]] const field& at(size_t index) const;
|
||||
template<class Type>
|
||||
std::optional<Type> at(const column &col) const
|
||||
{
|
||||
return at(col).as<Type>();
|
||||
}
|
||||
template<class Type>
|
||||
std::optional<Type> at(size_t index) const
|
||||
{
|
||||
return at(index).as<Type>();
|
||||
}
|
||||
|
||||
iterator find(const std::string &column_name);
|
||||
[[nodiscard]] const_iterator find(const std::string &column_name) const;
|
||||
|
||||
Reference in New Issue
Block a user