Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

resultset_view

A non-owning reference to a resultset.

Synopsis

Defined in header <boost/mysql/resultset_view.hpp>

class resultset_view
Member Functions

Name

Description

affected_rows

Returns the number of affected rows for this resultset.

has_value

Returns whether this is a null view or not.

info

Returns additional information for this resultset.

is_out_params

Returns whether this resultset represents a procedure OUT params.

last_insert_id

Returns the last insert ID for this resultset.

meta

Returns metadata for this resultset.

resultset_view [constructor]

Constructs a view with this->has_value() == false.

rows

Returns the rows for this resultset.

warning_count

Returns the number of warnings for this resultset.

Description

A resultset_view points to memory owned by an external object, usually a results. The view and any other reference type obtained from it are valid as long as the object they point to is alive.


PrevUpHomeNext