qx::QxRestApi : provide a REST API to send requests in JSON format from external application, from web-site or from QML view (https://www.qxorm.com/qxorm_en/manual.html#manual_97)
More...
#include <QxRestApi.h>
|
std::unique_ptr< QxRestApiImpl > | m_pImpl |
| Private implementation idiom.
|
|
qx::QxRestApi : provide a REST API to send requests in JSON format from external application, from web-site or from QML view (https://www.qxorm.com/qxorm_en/manual.html#manual_97)
Definition at line 67 of file QxRestApi.h.
◆ QxRestApi()
qx::QxRestApi::QxRestApi |
( |
QObject * | parent = NULL | ) |
|
◆ ~QxRestApi()
virtual qx::QxRestApi::~QxRestApi |
( |
| ) |
|
|
virtual |
◆ clearAll()
Q_INVOKABLE void qx::QxRestApi::clearAll |
( |
| ) |
|
◆ getError()
QSqlError qx::QxRestApi::getError |
( |
| ) |
const |
◆ getErrorCode()
Q_INVOKABLE int qx::QxRestApi::getErrorCode |
( |
| ) |
const |
◆ getErrorDesc()
Q_INVOKABLE QString qx::QxRestApi::getErrorDesc |
( |
| ) |
const |
◆ processRequest() [1/2]
QJsonValue qx::QxRestApi::processRequest |
( |
const QJsonValue & | request | ) |
|
◆ processRequest() [2/2]
Q_INVOKABLE QString qx::QxRestApi::processRequest |
( |
const QString & | request | ) |
|
◆ setAction()
Q_INVOKABLE void qx::QxRestApi::setAction |
( |
const QString & | action | ) |
|
◆ setColumns()
Q_INVOKABLE void qx::QxRestApi::setColumns |
( |
const QStringList & | columns | ) |
|
◆ setData() [1/2]
void qx::QxRestApi::setData |
( |
const QJsonValue & | data | ) |
|
◆ setData() [2/2]
Q_INVOKABLE void qx::QxRestApi::setData |
( |
const QString & | data | ) |
|
◆ setDatabase()
Q_INVOKABLE void qx::QxRestApi::setDatabase |
( |
const QString & | database | ) |
|
◆ setEntity()
Q_INVOKABLE void qx::QxRestApi::setEntity |
( |
const QString & | entity | ) |
|
◆ setFunction()
Q_INVOKABLE void qx::QxRestApi::setFunction |
( |
const QString & | fct | ) |
|
◆ setOutputFormat()
Q_INVOKABLE void qx::QxRestApi::setOutputFormat |
( |
const QStringList & | outputFormat | ) |
|
◆ setQuery()
Q_INVOKABLE void qx::QxRestApi::setQuery |
( |
const QString & | query | ) |
|
◆ setRelations()
Q_INVOKABLE void qx::QxRestApi::setRelations |
( |
const QStringList & | relations | ) |
|
◆ setUseExecBatch()
Q_INVOKABLE void qx::QxRestApi::setUseExecBatch |
( |
bool | useExecBatch | ) |
|
◆ m_pImpl
std::unique_ptr<QxRestApiImpl> qx::QxRestApi::m_pImpl |
|
private |
Private implementation idiom.
Definition at line 75 of file QxRestApi.h.
The documentation for this class was generated from the following file: