| QxOrm 1.2.7 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Classes | Namespaces | Defines | Typedefs | Functions
QxSqlQuery.h File Reference
QxDao : QxOrm library database communication used by persistence engine (ORM - Object Relational Mapping)

Define a user SQL query added to default SQL query builded by QxOrm library, and used by qx::dao::xxx functions to filter elements fetched from database. More...

`#include <boost/tuple/tuple.hpp>`
`#include <boost/tuple/tuple_comparison.hpp>`
`#include <boost/tuple/tuple_io.hpp>`
`#include <boost/serialization/serialization.hpp>`
`#include <boost/serialization/nvp.hpp>`
`#include <QtSql/qsqlquery.h>`
`#include <QxCollection/QxCollection.h>`
`#include <QxDao/QxSqlElement/QxSqlElement.h>`
`#include <QxSerialize/boost/QxSerialize_tuple.h>`
`#include <QxSerialize/Qt/QxSerialize_QString.h>`
`#include <QxSerialize/Qt/QxSerialize_QVariant.h>`
`#include <QxSerialize/Qt/QxSerialize_QHash.h>`
`#include <QxSerialize/Qt/QxSerialize_QVector.h>`
`#include <QxSerialize/Qt/QxSerialize_QFlags.h>`
`#include <QxSerialize/Qx/QxSerialize_QxCollection.h>`
`#include <QxTraits/get_class_name.h>`

Go to the source code of this file.

## Classes
class | qx::QxSqlQuery
| qx::QxSqlQuery : define a user SQL query added to default SQL query builded by QxOrm library, and used by qx::dao::xxx functions to filter elements fetched from database More...
struct | qx::QxSqlQuery::QxSqlResult
## Namespaces
namespace | qx
| Root namespace for all QxOrm library features.
namespace | qx::dao
| Database communication used by persistence engine (ORM - Object Relational Mapping)
## Defines
#define | QX_SQL_QUERY_DERIVED_IMPL_COVARIANT_RETURN_TYPE_HPP(className)
#define | QX_SQL_QUERY_DERIVED_IMPL_COVARIANT_RETURN_TYPE_CPP(className)
## Typedefs
typedef qx::QxSqlQuery | qx_query
## Functions
QX_DLL_EXPORT QSqlError | qx::dao::call_query (qx::QxSqlQuery &query, QSqlDatabase *pDatabase=NULL)
| qx::dao::call_query function can be used to call a custom SQL query or a stored procedure

## Detailed Description

Define a user SQL query added to default SQL query builded by QxOrm library, and used by qx::dao::xxx functions to filter elements fetched from database.

Author:
  Lionel Marty

Definition in file QxSqlQuery.h.

## Define Documentation

#define QX_SQL_QUERY_DERIVED_IMPL_COVARIANT_RETURN_TYPE_CPP | ( |  | className | ) |

Definition at line 541 of file QxSqlQuery.h.

#define QX_SQL_QUERY_DERIVED_IMPL_COVARIANT_RETURN_TYPE_HPP | ( |  | className | ) |

Definition at line 445 of file QxSqlQuery.h.

## Typedef Documentation

typedef qx::QxSqlQuery qx_query

Definition at line 410 of file QxSqlQuery.h.