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