qx::dao::detail::IxDao_Helper : helper class to communicate with database
More...
#include <IxDao_Helper.h>
|
| enum | timer_type {
timer_none
, timer_total
, timer_db_exec
, timer_db_next
,
timer_db_prepare
, timer_cpp_build_hierarchy
, timer_cpp_build_instance
, timer_cpp_read_instance
,
timer_build_sql
, timer_db_open
, timer_db_transaction
} |
| |
|
| std::unique_ptr< IxDao_HelperImpl > | m_pImpl |
| | Private implementation idiom.
|
| |
qx::dao::detail::IxDao_Helper : helper class to communicate with database
Definition at line 86 of file IxDao_Helper.h.
◆ timer_type
| Enumerator |
|---|
| timer_none | |
| timer_total | |
| timer_db_exec | |
| timer_db_next | |
| timer_db_prepare | |
| timer_cpp_build_hierarchy | |
| timer_cpp_build_instance | |
| timer_cpp_read_instance | |
| timer_build_sql | |
| timer_db_open | |
| timer_db_transaction | |
Definition at line 93 of file IxDao_Helper.h.
◆ IxDao_Helper()
◆ ~IxDao_Helper()
| virtual qx::dao::detail::IxDao_Helper::~IxDao_Helper |
( |
| ) |
|
|
protectedvirtual |
◆ addInvalidValues()
◆ addQuery()
| void qx::dao::detail::IxDao_Helper::addQuery |
( |
bool | bResolve | ) |
|
◆ builder() [1/2]
◆ builder() [2/2]
◆ database() [1/2]
| QSqlDatabase & qx::dao::detail::IxDao_Helper::database |
( |
| ) |
|
◆ database() [2/2]
| const QSqlDatabase & qx::dao::detail::IxDao_Helper::database |
( |
| ) |
const |
◆ dumpBoundValues()
| void qx::dao::detail::IxDao_Helper::dumpBoundValues |
( |
| ) |
const |
|
protected |
◆ dumpRecord()
| void qx::dao::detail::IxDao_Helper::dumpRecord |
( |
| ) |
const |
◆ errEmpty()
| QSqlError qx::dao::detail::IxDao_Helper::errEmpty |
( |
| ) |
|
◆ errFailed()
| QSqlError qx::dao::detail::IxDao_Helper::errFailed |
( |
bool | bPrepare = false | ) |
|
◆ errInvalidId()
| QSqlError qx::dao::detail::IxDao_Helper::errInvalidId |
( |
| ) |
|
◆ errInvalidRelation()
| QSqlError qx::dao::detail::IxDao_Helper::errInvalidRelation |
( |
| ) |
|
◆ errNoData()
| QSqlError qx::dao::detail::IxDao_Helper::errNoData |
( |
| ) |
|
◆ error() [1/2]
| QSqlError & qx::dao::detail::IxDao_Helper::error |
( |
| ) |
|
◆ error() [2/2]
| const QSqlError & qx::dao::detail::IxDao_Helper::error |
( |
| ) |
const |
◆ errReadOnly()
| QSqlError qx::dao::detail::IxDao_Helper::errReadOnly |
( |
| ) |
|
◆ exec()
| bool qx::dao::detail::IxDao_Helper::exec |
( |
bool | bForceEmptyExec = false | ) |
|
◆ getAddAutoIncrementIdToUpdateQuery()
| bool qx::dao::detail::IxDao_Helper::getAddAutoIncrementIdToUpdateQuery |
( |
| ) |
const |
◆ getCartesianProduct()
| bool qx::dao::detail::IxDao_Helper::getCartesianProduct |
( |
| ) |
const |
◆ getDataCount()
| long qx::dao::detail::IxDao_Helper::getDataCount |
( |
| ) |
const |
◆ getDataId()
◆ getDataMemberX()
◆ getIdFromQuery()
| QVariant qx::dao::detail::IxDao_Helper::getIdFromQuery |
( |
int | iNameIndex = -1 | ) |
const |
◆ getIgnoreSoftDeleteHash()
| QString qx::dao::detail::IxDao_Helper::getIgnoreSoftDeleteHash |
( |
| ) |
const |
◆ getListExecBatch()
| qx::QxCollection< QString, QVariantList > & qx::dao::detail::IxDao_Helper::getListExecBatch |
( |
| ) |
|
◆ getSession()
| qx::QxSession * qx::dao::detail::IxDao_Helper::getSession |
( |
| ) |
const |
◆ getSqlColumns()
| QStringList qx::dao::detail::IxDao_Helper::getSqlColumns |
( |
| ) |
const |
◆ getSqlGenerator()
| IxSqlGenerator * qx::dao::detail::IxDao_Helper::getSqlGenerator |
( |
| ) |
const |
◆ getSqlRelationLinked()
◆ getUseExecBatch()
| bool qx::dao::detail::IxDao_Helper::getUseExecBatch |
( |
| ) |
const |
◆ hasFeature()
| bool qx::dao::detail::IxDao_Helper::hasFeature |
( |
QSqlDriver::DriverFeature | ft | ) |
const |
◆ init()
| void qx::dao::detail::IxDao_Helper::init |
( |
QSqlDatabase * | pDatabase, |
|
|
const QString & | sContext ) |
|
protected |
◆ isDistinct()
| bool qx::dao::detail::IxDao_Helper::isDistinct |
( |
| ) |
const |
◆ isMongoDB()
| bool qx::dao::detail::IxDao_Helper::isMongoDB |
( |
| ) |
const |
◆ isReadOnly()
| bool qx::dao::detail::IxDao_Helper::isReadOnly |
( |
| ) |
const |
◆ isValid()
| bool qx::dao::detail::IxDao_Helper::isValid |
( |
| ) |
const |
◆ isValidPrimaryKey()
template<class U >
| bool qx::dao::detail::IxDao_Helper::isValidPrimaryKey |
( |
const U & | u | ) |
|
|
inline |
◆ itemsAsJson()
| QStringList & qx::dao::detail::IxDao_Helper::itemsAsJson |
( |
| ) |
|
◆ nextData()
◆ nextRecord()
| bool qx::dao::detail::IxDao_Helper::nextRecord |
( |
| ) |
|
◆ prepare()
| bool qx::dao::detail::IxDao_Helper::prepare |
( |
QString & | sql | ) |
|
◆ query() [1/2]
| QSqlQuery & qx::dao::detail::IxDao_Helper::query |
( |
| ) |
|
◆ query() [2/2]
| const QSqlQuery & qx::dao::detail::IxDao_Helper::query |
( |
| ) |
const |
◆ quiet()
| void qx::dao::detail::IxDao_Helper::quiet |
( |
| ) |
|
◆ qxQuery() [1/2]
◆ qxQuery() [2/2]
| const qx::QxSqlQuery & qx::dao::detail::IxDao_Helper::qxQuery |
( |
| ) |
const |
◆ resolveQuery()
| void qx::dao::detail::IxDao_Helper::resolveQuery |
( |
| ) |
|
◆ setSqlColumns()
| void qx::dao::detail::IxDao_Helper::setSqlColumns |
( |
const QStringList & | lst | ) |
|
◆ setUseExecBatch()
| void qx::dao::detail::IxDao_Helper::setUseExecBatch |
( |
bool | b | ) |
|
◆ sql()
| QString qx::dao::detail::IxDao_Helper::sql |
( |
| ) |
const |
◆ terminate()
| void qx::dao::detail::IxDao_Helper::terminate |
( |
| ) |
|
|
protected |
◆ timerElapsed()
◆ timerStart()
◆ transaction()
| bool qx::dao::detail::IxDao_Helper::transaction |
( |
| ) |
|
◆ updateError() [1/2]
| QSqlError qx::dao::detail::IxDao_Helper::updateError |
( |
const QSqlError & | error | ) |
|
◆ updateError() [2/2]
| QSqlError qx::dao::detail::IxDao_Helper::updateError |
( |
const QString & | sError | ) |
|
|
protected |
◆ updateLastInsertId()
template<class U >
| void qx::dao::detail::IxDao_Helper::updateLastInsertId |
( |
U & | u | ) |
|
|
inline |
◆ updateSqlRelationX()
| bool qx::dao::detail::IxDao_Helper::updateSqlRelationX |
( |
const QStringList & | relation | ) |
|
◆ validateInstance()
template<class U >
| bool qx::dao::detail::IxDao_Helper::validateInstance |
( |
U & | u | ) |
|
|
inline |
◆ IxDao_Timer
◆ m_pImpl
| std::unique_ptr<IxDao_HelperImpl> qx::dao::detail::IxDao_Helper::m_pImpl |
|
private |
The documentation for this class was generated from the following file: