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

qx::IxDataMemberSqlCallbackParams : list of parameters used by custom callback functions to override SQL queries generated by QxOrm library More...

#include <IxDataMember.h>

Public Member Functions

 IxDataMemberSqlCallbackParams (const IxDataMember *p, QString &sql)
 
 ~IxDataMemberSqlCallbackParams ()
 

Public Attributes

const IxDataMemberpDataMember
 The data member instance which calls custom callback function.
 
QString & sSQL
 Default value is the SQL generated by QxOrm library for this data member, can be changed by the custom callback function.
 
QString sTable
 SQL table name (not always provided)
 
QString sSep
 SQL separator (not always provided)
 
QString sCustomAlias
 SQL custom alias (not always provided)
 
QString sSuffixAlias
 SQL suffix alias (not always provided)
 
QString sAppend
 String to append to SQL query (not always provided)
 
QString sOtherName
 SQL other name for this data member (not always provided)
 
bool bClauseWhere
 Define if we are building SQL in the clause WHERE or not (not always provided)
 
bool bCheckFKPartOfPK
 Check if foreign key is part of primary key (not always provided)
 
int iIndexName
 Index name for composite primary key (not always provided)
 
qx::dao::detail::IxDao_HelperpDaoHelper
 DAO helper instance.
 
qx::IxSqlQueryBuilderpSqlQueryBuilder
 SQL query builder instance.
 

Detailed Description

qx::IxDataMemberSqlCallbackParams : list of parameters used by custom callback functions to override SQL queries generated by QxOrm library

Definition at line 342 of file IxDataMember.h.

Constructor & Destructor Documentation

◆ IxDataMemberSqlCallbackParams()

qx::IxDataMemberSqlCallbackParams::IxDataMemberSqlCallbackParams ( const IxDataMember * p,
QString & sql )

◆ ~IxDataMemberSqlCallbackParams()

qx::IxDataMemberSqlCallbackParams::~IxDataMemberSqlCallbackParams ( )

Member Data Documentation

◆ bCheckFKPartOfPK

bool qx::IxDataMemberSqlCallbackParams::bCheckFKPartOfPK

Check if foreign key is part of primary key (not always provided)

Definition at line 354 of file IxDataMember.h.

◆ bClauseWhere

bool qx::IxDataMemberSqlCallbackParams::bClauseWhere

Define if we are building SQL in the clause WHERE or not (not always provided)

Definition at line 353 of file IxDataMember.h.

◆ iIndexName

int qx::IxDataMemberSqlCallbackParams::iIndexName

Index name for composite primary key (not always provided)

Definition at line 355 of file IxDataMember.h.

◆ pDaoHelper

qx::dao::detail::IxDao_Helper* qx::IxDataMemberSqlCallbackParams::pDaoHelper

DAO helper instance.

Definition at line 356 of file IxDataMember.h.

◆ pDataMember

const IxDataMember* qx::IxDataMemberSqlCallbackParams::pDataMember

The data member instance which calls custom callback function.

Definition at line 345 of file IxDataMember.h.

◆ pSqlQueryBuilder

qx::IxSqlQueryBuilder* qx::IxDataMemberSqlCallbackParams::pSqlQueryBuilder

SQL query builder instance.

Definition at line 357 of file IxDataMember.h.

◆ sAppend

QString qx::IxDataMemberSqlCallbackParams::sAppend

String to append to SQL query (not always provided)

Definition at line 351 of file IxDataMember.h.

◆ sCustomAlias

QString qx::IxDataMemberSqlCallbackParams::sCustomAlias

SQL custom alias (not always provided)

Definition at line 349 of file IxDataMember.h.

◆ sOtherName

QString qx::IxDataMemberSqlCallbackParams::sOtherName

SQL other name for this data member (not always provided)

Definition at line 352 of file IxDataMember.h.

◆ sSep

QString qx::IxDataMemberSqlCallbackParams::sSep

SQL separator (not always provided)

Definition at line 348 of file IxDataMember.h.

◆ sSQL

QString& qx::IxDataMemberSqlCallbackParams::sSQL

Default value is the SQL generated by QxOrm library for this data member, can be changed by the custom callback function.

Definition at line 346 of file IxDataMember.h.

◆ sSuffixAlias

QString qx::IxDataMemberSqlCallbackParams::sSuffixAlias

SQL suffix alias (not always provided)

Definition at line 350 of file IxDataMember.h.

◆ sTable

QString qx::IxDataMemberSqlCallbackParams::sTable

SQL table name (not always provided)

Definition at line 347 of file IxDataMember.h.


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