libdballe
6.8
|
Precompiled queries to manipulate the lev_tr table. More...
#include <lev_tr.h>
Public Member Functions | |
LevTr (DB &db) | |
int | get_id () |
Get the lev_tr id for the current lev_tr data. More... | |
void | get_data (int id) |
Get lev_tr information given a lev_tr ID. More... | |
int | insert () |
Insert a new lev_tr in the database. More... | |
void | remove () |
Remove a lev_tr record. | |
void | dump (FILE *out) |
Dump the entire contents of the table to an output stream. | |
Data Fields | |
DB & | db |
DB connection. | |
db::Statement * | sstm |
Precompiled select statement. | |
db::Statement * | sdstm |
Precompiled select data statement. | |
db::Statement * | istm |
Precompiled insert statement. | |
db::Statement * | dstm |
Precompiled delete statement. | |
DBALLE_SQL_C_SINT_TYPE | id |
lev_tr ID SQL parameter | |
DBALLE_SQL_C_SINT_TYPE | ltype1 |
First level type SQL parameter. | |
DBALLE_SQL_C_SINT_TYPE | l1 |
Level L1 SQL parameter. | |
DBALLE_SQL_C_SINT_TYPE | ltype2 |
Second level type SQL parameter. | |
DBALLE_SQL_C_SINT_TYPE | l2 |
Level L2 SQL parameter. | |
DBALLE_SQL_C_SINT_TYPE | pind |
Time range type SQL parameter. | |
DBALLE_SQL_C_SINT_TYPE | p1 |
Time range P1 SQL parameter. | |
DBALLE_SQL_C_SINT_TYPE | p2 |
Time range P2 SQL parameter. | |
Precompiled queries to manipulate the lev_tr table.
void dballe::db::v6::LevTr::get_data | ( | int | id | ) |
Get lev_tr information given a lev_tr ID.
id | ID of the lev_tr to query |
int dballe::db::v6::LevTr::get_id | ( | ) |
Get the lev_tr id for the current lev_tr data.
int dballe::db::v6::LevTr::insert | ( | ) |
Insert a new lev_tr in the database.