32#ifndef _IX_SQL_GENERATOR_H_
33#define _IX_SQL_GENERATOR_H_
46#include <QtSql/qsqlquery.h>
QxOrm thread-safe container (keep insertion order + quick access by index + quick access by key)
qx::QxCollection<Key, Value> : QxOrm thread-safe container (keep insertion order + quick access by in...
qx::dao::detail::IxDao_Helper : helper class to communicate with database
qx::dao::detail::IxSqlElement : common interface for all SQL elements to build SQL query
virtual void onBeforeDelete(IxDao_Helper *pDaoHelper, void *pOwner) const =0
virtual void resolveLimit(QSqlQuery &query, const QxSqlLimit *pLimit, qx::QxCollection< QString, QVariantList > *pLstExecBatch=NULL) const =0
virtual QString getWildCard() const =0
virtual ~IxSqlGenerator()
virtual void onBeforeInsert(IxDao_Helper *pDaoHelper, void *pOwner) const =0
virtual QString getTableAliasSep() const =0
virtual QString getLimit(const QxSqlLimit *pLimit) const =0
virtual QString getAutoIncrement() const =0
virtual void formatSqlQuery(IxDao_Helper *pDaoHelper, QString &sql) const =0
virtual void postProcess(QString &sql, const QxSqlLimit *pLimit) const =0
virtual void onAfterDelete(IxDao_Helper *pDaoHelper, void *pOwner) const =0
virtual void checkSqlInsert(IxDao_Helper *pDaoHelper, QString &sql) const =0
virtual void onAfterInsert(IxDao_Helper *pDaoHelper, void *pOwner) const =0
virtual void onAfterUpdate(IxDao_Helper *pDaoHelper, void *pOwner) const =0
virtual void onBeforeUpdate(IxDao_Helper *pDaoHelper, void *pOwner) const =0
virtual void onBeforeSqlPrepare(IxDao_Helper *pDaoHelper, QString &sql) const =0
qx::dao::detail::QxSqlCompare : SQL element to compare value (==, <, >, <=, >=, LIKE,...
qx::dao::detail::QxSqlElementTemp : temporary SQL element (need to be cloned to be used)
qx::dao::detail::QxSqlEmbedQuery : SQL element to embed a SQL sub-query inside a parent SQL query
qx::dao::detail::QxSqlExpression : SQL element to build a SQL expression (WHERE, AND,...
qx::dao::detail::QxSqlFreeText : possibility to add free text to SQL query
qx::dao::detail::QxSqlIn : SQL element to verify a list of values (IN, NOT IN, etc....
qx::dao::detail::QxSqlIsBetween : SQL element to verify if a value is included into 2 other values
qx::dao::detail::QxSqlIsNull : SQL element to verify if a value is null or not null (IS NULL,...
qx::dao::detail::QxSqlLimit : SQL element to limit rows count fetched from database
qx::dao::detail::QxSqlSort : SQL element to sort or to group list of elements fetched from database (...
Internal helper tools for qx::dao namespace.
std::shared_ptr< IxSqlGenerator > IxSqlGenerator_ptr
Database communication used by persistence engine (ORM - Object Relational Mapping)
Root namespace for all QxOrm library features.