TrinityCore
TransactionData Struct Reference

#include <Transaction.h>

Public Member Functions

template<typename... Args>
 TransactionData (Args &&... args)
 

Static Public Member Functions

static PreparedStatementBaseToExecutable (std::unique_ptr< PreparedStatementBase > const &stmt)
 
static char const * ToExecutable (std::string const &sql)
 

Public Attributes

std::variant< std::unique_ptr< PreparedStatementBase >, std::string > query
 

Detailed Description

Definition at line 31 of file Transaction.h.

Constructor & Destructor Documentation

◆ TransactionData()

template<typename... Args>
TransactionData::TransactionData ( Args &&...  args)
inline

Definition at line 36 of file Transaction.h.

Member Function Documentation

◆ ToExecutable() [1/2]

static char const * TransactionData::ToExecutable ( std::string const &  sql)
inlinestatic

Definition at line 39 of file Transaction.h.

◆ ToExecutable() [2/2]

static PreparedStatementBase * TransactionData::ToExecutable ( std::unique_ptr< PreparedStatementBase > const &  stmt)
inlinestatic

Definition at line 38 of file Transaction.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ query

std::variant<std::unique_ptr<PreparedStatementBase>, std::string> TransactionData::query

Definition at line 33 of file Transaction.h.


The documentation for this struct was generated from the following file: