QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

qx::dao::detail::QxSqlIsNull : SQL element to verify if a value is null or not null (IS NULL, IS NOT NULL) More...

#include <QxSqlIsNull.h>

Inheritance diagram for qx::dao::detail::QxSqlIsNull:
qx::dao::detail::IxSqlElement

Public Types

enum  type { _is_null , _is_not_null }
 
- Public Types inherited from qx::dao::detail::IxSqlElement
enum  type_class {
  _no_type , _sql_compare , _sql_element_temp , _sql_expression ,
  _sql_free_text , _sql_in , _sql_is_between , _sql_is_null ,
  _sql_limit , _sql_sort , _sql_embed_query
}
 

Public Member Functions

 QxSqlIsNull ()
 
 QxSqlIsNull (int index, QxSqlIsNull::type t)
 
virtual ~QxSqlIsNull ()
 
virtual QString toString () const
 
virtual void resolve (QSqlQuery &query, qx::QxCollection< QString, QVariantList > *pLstExecBatch=NULL) const
 
virtual void postProcess (QString &sql) const
 
virtual IxSqlElement::type_class getTypeClass () const
 
- Public Member Functions inherited from qx::dao::detail::IxSqlElement
 IxSqlElement (int index)
 
virtual ~IxSqlElement ()
 
void setColumn (const QString &column)
 
void setColumns (const QStringList &columns)
 
void setValue (const QVariant &val)
 
void setValues (const QVariantList &values)
 
virtual void clone (IxSqlElement *other)
 
template<class Archive >
void qxSave (Archive &ar) const
 
template<class Archive >
void qxLoad (Archive &ar)
 

Protected Member Functions

virtual QString getExtraSettings () const
 
virtual void setExtraSettings (const QString &s)
 
- Protected Member Functions inherited from qx::dao::detail::IxSqlElement
void updateKeys ()
 

Protected Attributes

QxSqlIsNull::type m_type
 
- Protected Attributes inherited from qx::dao::detail::IxSqlElement
int m_iIndex
 Index of SQL element to build unique string.
 
QStringList m_lstColumns
 List of columns associated to SQL element.
 
QStringList m_lstKeys
 List of keys associated to SQL element.
 
QList< QVariant > m_lstValues
 List of values associated to SQL element.
 
IxSqlGeneratorm_pSqlGenerator
 SQL generator to build SQL query specific for each database.
 

Detailed Description

qx::dao::detail::QxSqlIsNull : SQL element to verify if a value is null or not null (IS NULL, IS NOT NULL)

Definition at line 56 of file QxSqlIsNull.h.

Member Enumeration Documentation

◆ type

Enumerator
_is_null 
_is_not_null 

Definition at line 61 of file QxSqlIsNull.h.

Constructor & Destructor Documentation

◆ QxSqlIsNull() [1/2]

qx::dao::detail::QxSqlIsNull::QxSqlIsNull ( )

◆ QxSqlIsNull() [2/2]

qx::dao::detail::QxSqlIsNull::QxSqlIsNull ( int index,
QxSqlIsNull::type t )

◆ ~QxSqlIsNull()

virtual qx::dao::detail::QxSqlIsNull::~QxSqlIsNull ( )
virtual

Member Function Documentation

◆ getExtraSettings()

virtual QString qx::dao::detail::QxSqlIsNull::getExtraSettings ( ) const
protectedvirtual

◆ getTypeClass()

virtual IxSqlElement::type_class qx::dao::detail::QxSqlIsNull::getTypeClass ( ) const
virtual

◆ postProcess()

virtual void qx::dao::detail::QxSqlIsNull::postProcess ( QString & sql) const
virtual

◆ resolve()

virtual void qx::dao::detail::QxSqlIsNull::resolve ( QSqlQuery & query,
qx::QxCollection< QString, QVariantList > * pLstExecBatch = NULL ) const
virtual

◆ setExtraSettings()

virtual void qx::dao::detail::QxSqlIsNull::setExtraSettings ( const QString & s)
protectedvirtual

◆ toString()

virtual QString qx::dao::detail::QxSqlIsNull::toString ( ) const
virtual

Member Data Documentation

◆ m_type

QxSqlIsNull::type qx::dao::detail::QxSqlIsNull::m_type
protected

Definition at line 65 of file QxSqlIsNull.h.


The documentation for this class was generated from the following file: