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

This is the documentation for a snapshot of the develop branch, built from commit 09fbc2c975.
PrevUpHomeNext

resultset

An owning resultset, containing metadata, rows and additional info.

Synopsis

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

class resultset
Member Functions

Name

Description

affected_rows

Returns the number of affected rows for this resultset.

has_value

Returns whether this object contains actual data 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.

operator=

Copy assignment.

Move assignment.

Replaces the contents of *this with a resultset_view.

resultset [constructor]

Constructs an empty resultset.

Copy constructor.

Move constructor.

Constructs a resultset object by taking ownership of a view.

rows

Returns the rows that this resultset contains.

warning_count

Returns the number of warnings for this resultset.

~resultset [destructor]

Destructor.

Description

Similar to results, but can only represent a single resultset (while results can hold multiple resultsets). Can be used to take ownership of a resultset_view.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext