...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the rows retrieved by the SQL query.
template< std::size_t I = 0> boost::span< const StaticRow...[I]> rows() const noexcept;
Type |
Description |
---|---|
|
Resultset index. For operations returning more than one resultset, you can explicitly specify this parameter to obtain the rows contained in the i-th resultset. If left unspecified, rows for the first resultset are returned. |
Returns a read-only span of the I
-th
row type.
this->has_value()
== true
No-throw guarantee.
This function returns a view object, with reference semantics. The returned
view points into memory owned by *this
, and will be valid as long as *this
or
an object move-constructed from *this
are alive.
Constant.