|
VSQLite++
0.3
|
query should be used to execute SQL queries An object of this class is not copyable More...
#include <query.hpp>


Public Member Functions | |
| query (connection &con, std::string const &sql) | |
| constructor | |
| virtual | ~query () |
| destructor | |
| result_type | emit_result () |
| executes the sql command | |
| result_type | get_result () |
| returns the results (needs a previous emit() call) | |
Private Member Functions | |
| void | access_check () |
| bool | step () |
Friends | |
| struct | result |
query should be used to execute SQL queries An object of this class is not copyable
| sqlite::query::query | ( | connection & | con, |
| std::string const & | sql | ||
| ) |
constructor
| con | reference to the connection which should be used |
| sql | is the SQL query statement |
| virtual sqlite::query::~query | ( | ) | [virtual] |
destructor
| void sqlite::query::access_check | ( | ) | [private] |
Reimplemented from sqlite::command.
executes the sql command
returns the results (needs a previous emit() call)
| bool sqlite::query::step | ( | ) | [private] |
Reimplemented from sqlite::command.
1.7.6.1