Wt
4.11.0
|
A database call. More...
#include <Wt/Dbo/Call.h>
Public Member Functions | |
~Call () noexcept(false) | |
Destructor. | |
Call (const Call &other) | |
Copy constructor. | |
template<typename T > | |
Call & | bind (const T &value) |
Binds a value to the next positional marker. | |
void | run () |
Runs the database call. | |
A database call.
A call can be used to execute a database command (e.g. an update, or a stored procedure call).
Wt::Dbo::Call::~Call | ( | ) |
Destructor.
This executes the call if it wasn't run() yet, and the call has not been copied.
Copy constructor.
This transfer the call "token" to the copy.
Binds a value to the next positional marker.
This binds the value
to the next positional marker.
void Wt::Dbo::Call::run | ( | ) |
Runs the database call.
This may throw an exception if there was a problem with the SQL command.