Wt  3.3.9
Public Member Functions | List of all members
Wt::Dbo::Call Class Reference

A database call. More...

#include <Wt/Dbo/Call>

Public Member Functions

 ~Call () WT_CXX11ONLY(noexcept(false))
 Destructor. More...
 
 Call (const Call &other)
 Copy constructor. More...
 
template<typename T >
Callbind (const T &value)
 Binds a value to the next positional marker. More...
 
void run ()
 Runs the database call. More...
 

Detailed Description

A database call.

A call can be used to execute a database command (e.g. an update, or a stored procedure call).

See also
Query

Constructor & Destructor Documentation

Wt::Dbo::Call::~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.

Member Function Documentation

template<typename T >
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.


Generated on Tue Nov 21 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11