#include <trademgen/command/DBManager.hpp>
Static Public Member Functions | |
static void | updateAirlineInDB (stdair::DBSession_T &, const stdair::AirlineStruct &) |
static bool | retrieveAirline (stdair::DBSession_T &, const stdair::AirlineCode_T &, stdair::AirlineStruct &) |
static void | prepareSelectStatement (stdair::DBSession_T &, stdair::DBRequestStatement_T &, stdair::AirlineStruct &) |
static bool | iterateOnStatement (stdair::DBRequestStatement_T &, stdair::AirlineStruct &, const bool iShouldDoReset) |
Class building the Business Object Model (BOM) from data retrieved from the database.
Definition at line 20 of file DBManager.hpp.
|
static |
Update the fields of the database row corresponding to the given BOM object.
Definition at line 121 of file DBManager.cpp.
|
static |
Retrieve, from the (MySQL) database, the row corresponding to the given BOM code, and fill the given BOM object with that retrieved data.
Definition at line 157 of file DBManager.cpp.
References iterateOnStatement().
|
static |
Prepare (parse and put in cache) the SQL statement.
Definition at line 24 of file DBManager.cpp.
|
static |
Iterate on the SQL statement.
The SQL has to be already prepared. const bool Tells whether the Airline object should be reset.
Definition at line 97 of file DBManager.cpp.
Referenced by retrieveAirline().