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

#include <command.hpp>

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

Public Member Functions

 command (std::string_view connection)
db::rowset exec (db::query const &qry, std::stop_token tok={}) 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::odbc::command::command ( std::string_view connection)
inlineexplicit

Member Function Documentation

◆ commit()

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

Implements boat::db::command.

◆ dbms()

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

The result is lower-case.

Implements boat::db::command.

◆ exec()

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

Implements boat::db::command.

◆ id_quote()

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

Implements boat::db::command.

◆ param_mark()

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

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

Implements boat::db::command.

◆ set_autocommit()

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

Implements boat::db::command.


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