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

execution_state

Holds state for multi-function SQL execution operations.

Synopsis

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

class execution_state
Member Functions

Name

Description

affected_rows

Returns the number of rows affected by the executed SQL statement.

complete

Returns whether all the messages generated by this operation have been read.

execution_state [constructor]

Default constructor.

info

Returns additionat text information about the execution of the SQL statement.

last_insert_id

Returns the last insert ID produced by the executed SQL statement.

meta

Returns metadata about the columns in the query.

warning_count

Returns the number of warnings produced by the executed SQL statement.

Thread safety

Distinct objects: safe.

Shared objects: unsafe.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext