boat
C++23 geospatial library
Loading...
Searching...
No Matches
boat::db::command Struct Referenceabstract

#include <command.hpp>

Inheritance diagram for boat::db::command:

Public Member Functions

virtual ~command ()=default
virtual rowset exec (query const &, std::stop_token={})=0
virtual void set_autocommit (bool)=0
virtual void commit ()=0
virtual char id_quote ()=0
virtual std::string param_mark ()=0
 "{}" in the result is replaced with the parameter number.
virtual std::string dbms ()=0
 The result is lower-case.

Constructor & Destructor Documentation

◆ ~command()

virtual boat::db::command::~command ( )
virtualdefault

Member Function Documentation

◆ commit()

virtual void boat::db::command::commit ( )
pure virtual

◆ dbms()

virtual std::string boat::db::command::dbms ( )
pure virtual

◆ exec()

virtual rowset boat::db::command::exec ( query const & ,
std::stop_token = {} )
pure virtual

◆ id_quote()

virtual char boat::db::command::id_quote ( )
pure virtual

◆ param_mark()

virtual std::string boat::db::command::param_mark ( )
pure virtual

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

Implemented in boat::gdal::command, boat::sql::libmysql::command, boat::sql::libpq::command, boat::sql::odbc::command, and boat::sql::sqlite::command.

◆ set_autocommit()

virtual void boat::db::command::set_autocommit ( bool )
pure virtual

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