AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
PreparedStatementData Struct Reference

#include "PreparedStatement.h"

Public Member Functions

template<>
std::string ToString (std::vector< uint8 >)
 

Static Public Member Functions

template<typename T >
static std::string ToString (T value)
 
static std::string ToString (std::nullptr_t)
 

Public Attributes

std::variant< bool, uint8, uint16, uint32, uint64, int8, int16, int32, int64, float, double, std::string, std::vector< uint8 >, std::nullptr_t > data
 

Detailed Description

Member Function Documentation

◆ ToString() [1/3]

std::string PreparedStatementData::ToString ( std::nullptr_t  )
static
130{
131 return "NULL";
132}

◆ ToString() [2/3]

template<>
std::string PreparedStatementData::ToString ( std::vector< uint8 )
112{
113 return "BINARY";
114}

◆ ToString() [3/3]

template<typename T >
std::string PreparedStatementData::ToString ( value)
static
106{
107 return Acore::StringFormatFmt("{}", value);
108}
std::string StringFormatFmt(FormatString< Args... > fmt, Args &&... args)
Definition: StringFormat.h:48

References Acore::StringFormatFmt().

Referenced by MySQLPreparedStatement::getQueryString().

Member Data Documentation

◆ data

std::variant< bool, uint8, uint16, uint32, uint64, int8, int16, int32, int64, float, double, std::string, std::vector<uint8>, std::nullptr_t > PreparedStatementData::data