Commit 3bc2fc41 by Maarten L. Hekkelman

add missing get

parent 6c58eaa7
......@@ -290,6 +290,13 @@ class row_handle
return operator[](get_column_ix(column)).template as<T>();
}
/// \brief Get the value of column @a column cast to type @a T
template <typename T>
T get(std::string_view column) const
{
return operator[](get_column_ix(column)).template as<T>();
}
/// \brief assign each of the columns named in @a values to their respective value
void assign(const std::vector<item> &values)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment