#include <PreparedStatement.h>
|
| PreparedStatementBase (uint32 index, uint8 capacity) |
|
virtual | ~PreparedStatementBase () |
|
void | setNull (const uint8 index) |
|
void | setBool (const uint8 index, const bool value) |
|
void | setUInt8 (const uint8 index, const uint8 value) |
|
void | setUInt16 (const uint8 index, const uint16 value) |
|
void | setUInt32 (const uint8 index, const uint32 value) |
|
void | setUInt64 (const uint8 index, const uint64 value) |
|
void | setInt8 (const uint8 index, const int8 value) |
|
void | setInt16 (const uint8 index, const int16 value) |
|
void | setInt32 (const uint8 index, const int32 value) |
|
void | setInt64 (const uint8 index, const int64 value) |
|
void | setFloat (const uint8 index, const float value) |
|
void | setDouble (const uint8 index, const double value) |
|
void | setString (const uint8 index, const std::string &value) |
|
void | setStringView (const uint8 index, const std::string_view value) |
|
void | setBinary (const uint8 index, const std::vector< uint8 > &value) |
|
template<size_t Size> |
void | setBinary (const uint8 index, std::array< uint8, Size > const &value) |
|
uint32 | GetIndex () const |
|
std::vector< PreparedStatementData > const & | GetParameters () const |
|
◆ PreparedStatementBase() [1/2]
PreparedStatementBase::PreparedStatementBase |
( |
uint32 |
index, |
|
|
uint8 |
capacity |
|
) |
| |
|
explicit |
24 :
uint32 m_index
Definition: PreparedStatement.h:92
std::vector< PreparedStatementData > statement_data
Definition: PreparedStatement.h:95
◆ ~PreparedStatementBase()
PreparedStatementBase::~PreparedStatementBase |
( |
| ) |
|
|
virtual |
◆ PreparedStatementBase() [2/2]
◆ GetIndex()
uint32 PreparedStatementBase::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetParameters()
◆ operator=()
◆ setBinary() [1/2]
void PreparedStatementBase::setBinary |
( |
const uint8 |
index, |
|
|
const std::vector< uint8 > & |
value |
|
) |
| |
109{
112}
#define ASSERT
Definition: Errors.h:68
◆ setBinary() [2/2]
template<size_t Size>
void PreparedStatementBase::setBinary |
( |
const uint8 |
index, |
|
|
std::array< uint8, Size > const & |
value |
|
) |
| |
|
inline |
83 {
84 std::vector<uint8> vec(value.begin(), value.end());
86 }
void setBinary(const uint8 index, const std::vector< uint8 > &value)
Definition: PreparedStatement.cpp:108
◆ setBool()
void PreparedStatementBase::setBool |
( |
const uint8 |
index, |
|
|
const bool |
value |
|
) |
| |
◆ setDouble()
void PreparedStatementBase::setDouble |
( |
const uint8 |
index, |
|
|
const double |
value |
|
) |
| |
◆ setFloat()
void PreparedStatementBase::setFloat |
( |
const uint8 |
index, |
|
|
const float |
value |
|
) |
| |
◆ setInt16()
void PreparedStatementBase::setInt16 |
( |
const uint8 |
index, |
|
|
const int16 |
value |
|
) |
| |
◆ setInt32()
void PreparedStatementBase::setInt32 |
( |
const uint8 |
index, |
|
|
const int32 |
value |
|
) |
| |
◆ setInt64()
void PreparedStatementBase::setInt64 |
( |
const uint8 |
index, |
|
|
const int64 |
value |
|
) |
| |
◆ setInt8()
void PreparedStatementBase::setInt8 |
( |
const uint8 |
index, |
|
|
const int8 |
value |
|
) |
| |
◆ setNull()
void PreparedStatementBase::setNull |
( |
const uint8 |
index | ) |
|
◆ setString()
void PreparedStatementBase::setString |
( |
const uint8 |
index, |
|
|
const std::string & |
value |
|
) |
| |
◆ setStringView()
void PreparedStatementBase::setStringView |
( |
const uint8 |
index, |
|
|
const std::string_view |
value |
|
) |
| |
◆ setUInt16()
void PreparedStatementBase::setUInt16 |
( |
const uint8 |
index, |
|
|
const uint16 |
value |
|
) |
| |
◆ setUInt32()
void PreparedStatementBase::setUInt32 |
( |
const uint8 |
index, |
|
|
const uint32 |
value |
|
) |
| |
◆ setUInt64()
void PreparedStatementBase::setUInt64 |
( |
const uint8 |
index, |
|
|
const uint64 |
value |
|
) |
| |
◆ setUInt8()
void PreparedStatementBase::setUInt8 |
( |
const uint8 |
index, |
|
|
const uint8 |
value |
|
) |
| |
◆ PreparedStatementTask
◆ m_index
uint32 PreparedStatementBase::m_index |
|
protected |
◆ statement_data
The documentation for this class was generated from the following files: