...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Holds the results of a SQL query.
Defined in header <boost/mysql/results.hpp>
class results
Name |
Description |
---|---|
Returns the number of rows affected by the executed SQL statement. |
|
Returns whether the object holds a valid result. |
|
Returns additionat text information about the execution of the SQL statement. |
|
Returns the last insert ID produced by the executed SQL statement. |
|
Returns metadata about the columns in the query. |
|
Copy assignment. |
|
results [constructor] |
Default constructor. |
Returns the rows retrieved by the SQL query. |
|
Returns the number of warnings produced by the executed SQL statement. |
|
~results [destructor] |
Destructor. |
The results (rows, metadata and additional info) are held in-memory.
Distinct objects: safe.
Shared objects: unsafe.
Convenience header <boost/mysql.hpp>