118 bool operator==(const
Row &other) const;
125 bool operator!=(const
Row &other) const;
209 bool empty() const noexcept;
217 const
Value &operator[](
std::string_view columnName) const &;
268 template <StormByte::Type::Integral T>
287 template <StormByte::Type::Integral T>
297 void add(std::string_view columnName,
Value &&value);
325 std::unique_ptr<Columns> m_columns;
330 void BuildNameIndex() const;
Value plus column name.
Definition named_value.hxx:63
One result row: ordered NamedValues with lookup by column name.
Definition row.hxx:67
NamedValue operator[](StormByte::Size index) &&
Access a column by zero-based index (rvalue).
Row() noexcept
Default constructor.
bool has_item(const NamedValue &value) const
Search for an equal named value.
StormByte::Size Count() const noexcept
Number of columns.
std::reverse_iterator< iterator > reverse_iterator
Mutable reverse iterator.
Definition row.hxx:77
void add(std::string_view columnName, Value &&value)
Append a named column.
NamedValue operator[](T index) &&
Access a column by integral zero-based index (rvalue).
Definition row.hxx:288
NamedValue & operator[](T index) &
Access a column by integral zero-based index (lvalue).
Definition row.hxx:269
std::reverse_iterator< const_iterator > const_reverse_iterator
Read-only reverse iterator.
Definition row.hxx:78
void add(NamedValue value)
Append a named value.
NamedValue & operator[](StormByte::Size index) &
Access a column by zero-based index (lvalue).
Type-erased SQL value (NULL, integers, double, text, blob, bool).
Definition value.hxx:68
Root namespace of the StormByte C++ suite.
#define STORMBYTE_DATABASE_PUBLIC
Definition visibility.h:54