TrinityCore
DatabaseEnvFwd.h File Reference
#include <future>
#include <memory>
+ Include dependency graph for DatabaseEnvFwd.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PreparedStatement< T >
 
class  AsyncCallbackProcessor< T >
 
class  Transaction< T >
 
class  SQLQueryHolder< T >
 

Typedefs

using QueryResult = std::shared_ptr< ResultSet >
 
using QueryResultFuture = std::future< QueryResult >
 
using QueryResultPromise = std::promise< QueryResult >
 
using CharacterDatabasePreparedStatement = PreparedStatement< CharacterDatabaseConnection >
 
using HotfixDatabasePreparedStatement = PreparedStatement< HotfixDatabaseConnection >
 
using LoginDatabasePreparedStatement = PreparedStatement< LoginDatabaseConnection >
 
using WorldDatabasePreparedStatement = PreparedStatement< WorldDatabaseConnection >
 
using PreparedQueryResult = std::shared_ptr< PreparedResultSet >
 
using PreparedQueryResultFuture = std::future< PreparedQueryResult >
 
using PreparedQueryResultPromise = std::promise< PreparedQueryResult >
 
using QueryCallbackProcessor = AsyncCallbackProcessor< QueryCallback >
 
using TransactionFuture = std::future< bool >
 
using TransactionPromise = std::promise< bool >
 
template<typename T >
using SQLTransaction = std::shared_ptr< Transaction< T > >
 
using CharacterDatabaseTransaction = SQLTransaction< CharacterDatabaseConnection >
 
using HotfixDatabaseTransaction = SQLTransaction< HotfixDatabaseConnection >
 
using LoginDatabaseTransaction = SQLTransaction< LoginDatabaseConnection >
 
using WorldDatabaseTransaction = SQLTransaction< WorldDatabaseConnection >
 
using QueryResultHolderFuture = std::future< SQLQueryHolderBase * >
 
using QueryResultHolderPromise = std::promise< SQLQueryHolderBase * >
 
using CharacterDatabaseQueryHolder = SQLQueryHolder< CharacterDatabaseConnection >
 
using HotfixDatabaseQueryHolder = SQLQueryHolder< HotfixDatabaseConnection >
 
using LoginDatabaseQueryHolder = SQLQueryHolder< LoginDatabaseConnection >
 
using WorldDatabaseQueryHolder = SQLQueryHolder< WorldDatabaseConnection >
 

Typedef Documentation

◆ CharacterDatabasePreparedStatement

◆ CharacterDatabaseQueryHolder

◆ CharacterDatabaseTransaction

◆ HotfixDatabasePreparedStatement

◆ HotfixDatabaseQueryHolder

◆ HotfixDatabaseTransaction

◆ LoginDatabasePreparedStatement

◆ LoginDatabaseQueryHolder

◆ LoginDatabaseTransaction

◆ PreparedQueryResult

using PreparedQueryResult = std::shared_ptr<PreparedResultSet>

◆ PreparedQueryResultFuture

◆ PreparedQueryResultPromise

◆ QueryCallbackProcessor

◆ QueryResult

using QueryResult = std::shared_ptr<ResultSet>

◆ QueryResultFuture

using QueryResultFuture = std::future<QueryResult>

◆ QueryResultHolderFuture

◆ QueryResultHolderPromise

◆ QueryResultPromise

using QueryResultPromise = std::promise<QueryResult>

◆ SQLTransaction

template<typename T >
using SQLTransaction = std::shared_ptr<Transaction<T> >

◆ TransactionFuture

using TransactionFuture = std::future<bool>

◆ TransactionPromise

using TransactionPromise = std::promise<bool>

◆ WorldDatabasePreparedStatement

◆ WorldDatabaseQueryHolder

◆ WorldDatabaseTransaction