...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Represents a server-side prepared statement.
Defined in header <boost/mysql/statement.hpp>
class statement
Name |
Description |
---|---|
Returns a server-side identifier for the statement (unique in a per-connection basis). |
|
Returns the number of parameters that should be provided when executing the statement. |
|
statement [constructor] |
Default constructor. |
Returns |
This is a lightweight class, holding a handle to a server-side prepared statement.
Note that statement's destructor doesn't deallocate the statement from the server, as this implies a network transfer that may fail.
Distinct objects: safe.
Shared objects: unsafe.
Convenience header <boost/mysql.hpp>