|
| | nontransaction (connection_base &C, const std::string &Name=std::string()) |
| | Constructor. More...
|
| |
| virtual | ~nontransaction () |
| |
| virtual | ~transaction_base ()=0 |
| |
| void | commit () |
| | Commit the transaction. More...
|
| |
| void | abort () |
| | Abort the transaction. More...
|
| |
| std::string | esc (const char str[]) const |
| | Escape string for use as SQL string literal in this transaction. More...
|
| |
| std::string | esc (const char str[], size_t maxlen) const |
| | Escape string for use as SQL string literal in this transaction. More...
|
| |
| std::string | esc (const std::string &str) const |
| | Escape string for use as SQL string literal in this transaction. More...
|
| |
| std::string | esc_raw (const unsigned char str[], size_t len) const |
| | Escape binary data for use as SQL string literal in this transaction. More...
|
| |
| std::string | esc_raw (const std::string &) const |
| | Escape binary data for use as SQL string literal in this transaction. More...
|
| |
| template<typename T > |
| std::string | quote (const T &t) const |
| | Represent object as SQL string, including quoting & escaping. More...
|
| |
| std::string | quote_raw (const unsigned char str[], size_t len) const |
| | Binary-escape and quote a binarystring for use as an SQL constant. More...
|
| |
| std::string | quote_raw (const std::string &str) const |
| |
| std::string | quote_name (const std::string &identifier) const |
| | Escape an SQL identifier for use in a query. More...
|
| |
| result | exec (const std::string &Query, const std::string &Desc=std::string()) |
| | Execute query. More...
|
| |
| result | exec (const std::stringstream &Query, const std::string &Desc=std::string()) |
| |
| internal::parameterized_invocation | parameterized (const std::string &query) |
| | Parameterize a statement. More...
|
| |
| connection_base & | conn () const |
| | Connection this transaction is running in. More...
|
| |
| void | set_variable (const std::string &Var, const std::string &Val) |
| | Set session variable in this connection. More...
|
| |
| std::string | get_variable (const std::string &) |
| | Get currently applicable value of variable. More...
|
| |
| prepare::invocation | prepared (const std::string &statement=std::string()) |
| | Execute prepared statement. More...
|
| |
| void | process_notice (const char Msg[]) const |
| | Have connection process warning message. More...
|
| |
| void | process_notice (const std::string &Msg) const |
| | Have connection process warning message. More...
|
| |
| | namedclass (const std::string &Classname, const std::string &Name="") |
| |
| const std::string & | name () const throw () |
| |
| const std::string & | classname () const throw () |
| |
| std::string | description () const |
| |