MySQL 8.3.0
Source Code Documentation
classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed > Class Template Reference

append data to a parameter of a prepared statement. More...

#include <classic_protocol_message.h>

Public Types

using string_type = std::conditional_t< Borrowed, std::string_view, std::string >
 

Public Member Functions

constexpr StmtParamAppendData (uint32_t statement_id, uint16_t param_id, string_type data)
 construct an append-data-to-parameter message. More...
 
constexpr uint32_t statement_id () const
 
constexpr uint16_t param_id () const
 
constexpr string_type data () const
 

Private Attributes

uint32_t statement_id_
 
uint16_t param_id_
 
string_type data_
 

Detailed Description

template<bool Borrowed>
class classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >

append data to a parameter of a prepared statement.

Member Typedef Documentation

◆ string_type

template<bool Borrowed>
using classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string>

Constructor & Destructor Documentation

◆ StmtParamAppendData()

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::StmtParamAppendData ( uint32_t  statement_id,
uint16_t  param_id,
string_type  data 
)
inlineconstexpr

construct an append-data-to-parameter message.

Parameters
statement_idstatement-id to close
param_idparameter-id to append data to
datadata to append to param_id of statement_id

Member Function Documentation

◆ data()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::data ( ) const
inlineconstexpr

◆ param_id()

template<bool Borrowed>
constexpr uint16_t classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::param_id ( ) const
inlineconstexpr

◆ statement_id()

template<bool Borrowed>
constexpr uint32_t classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::statement_id ( ) const
inlineconstexpr

Member Data Documentation

◆ data_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::data_
private

◆ param_id_

template<bool Borrowed>
uint16_t classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::param_id_
private

◆ statement_id_

template<bool Borrowed>
uint32_t classic_protocol::borrowable::message::client::StmtParamAppendData< Borrowed >::statement_id_
private

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