|
libdballe
7.7
|
Build SQL queries for V6 databases. More...
#include <qbuilder.h>
Public Member Functions | |
| QueryBuilder (DB &db, const core::Query &query, unsigned int modifiers, bool query_station_vars) | |
| void | build () |
Data Fields | |
| Connection & | conn |
| DB & | db |
| Database to operate on. | |
| const char * | bind_in_ident = nullptr |
| If defined, it need to point to the identifier to be used as the only bound input parameter. More... | |
| bool | select_station = false |
| bool | select_varinfo = false |
| bool | select_data_id = false |
| bool | select_data = false |
| bool | select_summary_details = false |
| const core::Query & | query |
| Query object. | |
| Querybuf | sql_query |
| Dynamically generated SQL query. | |
| Querybuf | sql_from |
| FROM part of the SQL query. | |
| Querybuf | sql_where |
| WHERE part of the SQL query. | |
| const unsigned int | modifiers |
| Modifier flags to enable special query behaviours. | |
| bool | query_station_vars |
| True if we are querying station information, rather than measured data. | |
Build SQL queries for V6 databases.
| const char* dballe::db::v6::QueryBuilder::bind_in_ident = nullptr |
If defined, it need to point to the identifier to be used as the only bound input parameter.
If not defined, there are no bound input parameters in this query
1.8.9.1