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

#include <classic_protocol_message.h>

Public Types

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

Public Member Functions

constexpr StmtPrepare (string_type statement)
 construct a PrepareStmt message. More...
 
constexpr string_type statement () const
 

Private Attributes

string_type statement_
 

Member Typedef Documentation

◆ string_type

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

Constructor & Destructor Documentation

◆ StmtPrepare()

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::client::StmtPrepare< Borrowed >::StmtPrepare ( string_type  statement)
inlineconstexpr

construct a PrepareStmt message.

Parameters
statementstatement to prepare

Member Function Documentation

◆ statement()

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

Member Data Documentation

◆ statement_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::client::StmtPrepare< Borrowed >::statement_
private

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