QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::dao::detail::QxDaoAsyncParams : all parameters for qx::QxDaoAsync class to execute queries More...
#include <QxDaoAsync.h>
Public Types | |
enum | dao_action { dao_none, dao_count, dao_fetch_by_id, dao_fetch_all, dao_fetch_by_query, dao_insert, dao_update, dao_save, dao_delete_by_id, dao_delete_all, dao_delete_by_query, dao_destroy_by_id, dao_destroy_all, dao_destroy_by_query, dao_execute_query, dao_call_query } |
Public Member Functions | |
QxDaoAsyncParams () | |
~QxDaoAsyncParams () | |
Public Attributes | |
dao_action | daoAction |
Action to execute into the thread (asynchronous way) | |
QString | className |
Classname parameter to execute action (must implement qx::IxPersistable interface) | |
qx::QxSqlQuery | query |
Query parameter to execute action. | |
QSqlDatabase * | pDatabase |
Database parameter to execute action. | |
IxPersistable_ptr | pInstance |
Current instance parameter to execute action. | |
IxPersistableCollection_ptr | pListOfInstances |
List of instances fetched by query. | |
QStringList | listColumns |
List of columns parameter to execute action. | |
QStringList | listRelations |
List of relationships parameter to execute action. | |
QVariant | id |
Current instance id parameter to execute action. | |
long | daoCount |
Dao count value returned by qx::dao::count query. | |
bool | useExecBatch |
If true then use the QSqlQuery::execBatch() method to improve performance inserting/updating/deleting a list of instances to database (but doesn't fill the last inserted identifier in the C++ instances) |
qx::dao::detail::QxDaoAsyncParams : all parameters for qx::QxDaoAsync class to execute queries
Definition at line 69 of file QxDaoAsync.h.
Definition at line 72 of file QxDaoAsync.h.
qx::dao::detail::QxDaoAsyncParams::QxDaoAsyncParams | ( | ) | [inline] |
Definition at line 88 of file QxDaoAsync.h.
qx::dao::detail::QxDaoAsyncParams::~QxDaoAsyncParams | ( | ) | [inline] |
Definition at line 89 of file QxDaoAsync.h.
Classname parameter to execute action (must implement qx::IxPersistable interface)
Definition at line 77 of file QxDaoAsync.h.
Action to execute into the thread (asynchronous way)
Definition at line 76 of file QxDaoAsync.h.
Dao count value returned by qx::dao::count query.
Definition at line 85 of file QxDaoAsync.h.
Current instance id parameter to execute action.
Definition at line 84 of file QxDaoAsync.h.
QStringList qx::dao::detail::QxDaoAsyncParams::listColumns |
List of columns parameter to execute action.
Definition at line 82 of file QxDaoAsync.h.
QStringList qx::dao::detail::QxDaoAsyncParams::listRelations |
List of relationships parameter to execute action.
Definition at line 83 of file QxDaoAsync.h.
QSqlDatabase* qx::dao::detail::QxDaoAsyncParams::pDatabase |
Database parameter to execute action.
Definition at line 79 of file QxDaoAsync.h.
Current instance parameter to execute action.
Definition at line 80 of file QxDaoAsync.h.
List of instances fetched by query.
Definition at line 81 of file QxDaoAsync.h.
Query parameter to execute action.
Definition at line 78 of file QxDaoAsync.h.
If true then use the QSqlQuery::execBatch() method to improve performance inserting/updating/deleting a list of instances to database (but doesn't fill the last inserted identifier in the C++ instances)
Definition at line 86 of file QxDaoAsync.h.