boat
C++23 geospatial library
Loading...
Searching...
No Matches
boat::sql::libmysql::command Class Reference

#include <command.hpp>

Inheritance diagram for boat::sql::libmysql::command:
Collaboration diagram for boat::sql::libmysql::command:

Public Member Functions

 command (char const *user, char const *password, char const *host, int port, char const *database)
db::rowset exec (db::query const &qry, std::stop_token={}) override
void set_autocommit (bool on) override
void commit () override
char id_quote () override
std::string param_mark () override
 "{}" in the result is replaced with the parameter number.
std::string dbms () override
 The result is lower-case.
Public Member Functions inherited from boat::db::command
virtual ~command ()=default

Constructor & Destructor Documentation

◆ command()

boat::sql::libmysql::command::command ( char const * user,
char const * password,
char const * host,
int port,
char const * database )
inline

Member Function Documentation

◆ commit()

void boat::sql::libmysql::command::commit ( )
inlineoverridevirtual

Implements boat::db::command.

◆ dbms()

std::string boat::sql::libmysql::command::dbms ( )
inlineoverridevirtual

The result is lower-case.

Implements boat::db::command.

◆ exec()

db::rowset boat::sql::libmysql::command::exec ( db::query const & qry,
std::stop_token = {} )
inlineoverridevirtual

Implements boat::db::command.

◆ id_quote()

char boat::sql::libmysql::command::id_quote ( )
inlineoverridevirtual

Implements boat::db::command.

◆ param_mark()

std::string boat::sql::libmysql::command::param_mark ( )
inlineoverridevirtual

"{}" in the result is replaced with the parameter number.

Implements boat::db::command.

◆ set_autocommit()

void boat::sql::libmysql::command::set_autocommit ( bool on)
inlineoverridevirtual

Implements boat::db::command.


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