Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
results::value_type

A type that can hold elements in this collection with value semantics.

Synopsis
using value_type = 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

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.

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.


PrevUpHomeNext