10 #ifndef _MARIADB_BIND_HPP_ 11 #define _MARIADB_BIND_HPP_ 28 explicit bind(MYSQL_BIND *mysql_bind);
33 bind(MYSQL_BIND *mysql_bind, MYSQL_FIELD *mysql_field);
46 long unsigned int length()
const;
50 void set(enum_field_types
type,
const char*
buffer =
nullptr,
unsigned long length = 0,
bool us =
false);
bind & operator=(const bind &)=delete
bind(MYSQL_BIND *mysql_bind)
Construct a parameter bind.
std::unique_ptr< bind > bind_ref
std::shared_ptr< ::mariadb::data< char > > data_ref
Class representing a prepared statement with binding functionality.
long unsigned int length() const
static void statement(LexState *ls)
Class used to store query and statement results.