25 m_index(index), statement_data(capacity) { }
146 return ToString<uint32>(value);
151 return ToString<uint32>(value);
154template std::string PreparedStatementData::ToString<uint16>(
uint16);
155template std::string PreparedStatementData::ToString<uint32>(
uint32);
156template std::string PreparedStatementData::ToString<uint64>(
uint64);
160 return ToString<int32>(value);
163template std::string PreparedStatementData::ToString<int16>(
int16);
164template std::string PreparedStatementData::ToString<int32>(
int32);
165template std::string PreparedStatementData::ToString<int64>(
int64);
166template std::string PreparedStatementData::ToString<float>(
float);
167template std::string PreparedStatementData::ToString<double>(
double);
std::shared_ptr< PreparedResultSet > PreparedQueryResult
bool Execute(char const *sql)
ResultSet * Query(char const *sql)
uint64 GetRowCount() const
void setInt16(const uint8 index, const int16 value)
void setInt32(const uint8 index, const int32 value)
void setStringView(const uint8 index, const std::string_view value)
void setFloat(const uint8 index, const float value)
void setUInt8(const uint8 index, const uint8 value)
void setInt64(const uint8 index, const int64 value)
void setBool(const uint8 index, const bool value)
void setBinary(const uint8 index, const std::vector< uint8 > &value)
void setUInt32(const uint8 index, const uint32 value)
virtual ~PreparedStatementBase()
void setDouble(const uint8 index, const double value)
void setUInt16(const uint8 index, const uint16 value)
void setNull(const uint8 index)
void setString(const uint8 index, const std::string &value)
void setInt8(const uint8 index, const int8 value)
std::vector< PreparedStatementData > statement_data
void setUInt64(const uint8 index, const uint64 value)
PreparedStatementBase(uint32 index, uint8 capacity)
static PreparedQueryResult Query(MySQLConnection *conn, PreparedStatementBase *stmt)
static bool Execute(MySQLConnection *conn, PreparedStatementBase *stmt)
std::string StringFormat(FormatString< Args... > fmt, Args &&... args)
Default TC string format function.
static std::string ToString(T value)