#include <QList>
#include <TCriteria>
#include <TCriteriaConverter>
#include <TMongoODMapper>
#include <TSqlORMapper>
#include <TSqlORMapperIterator>
Go to the source code of this file.
|
template<class T , class S > |
QList< T > | tfGetModelListByCriteria (const TCriteria &cri, const QList< QPair< QString, Tf::SortOrder > > &sortColumns, int limit=0, int offset=0) |
|
template<class T , class S > |
QList< T > | tfGetModelListByCriteria (const TCriteria &cri, const QList< QPair< int, Tf::SortOrder > > &sortColumns, int limit=0, int offset=0) |
|
template<class T , class S > |
QList< T > | tfGetModelListByCriteria (const TCriteria &cri, int sortColumn, Tf::SortOrder order, int limit=0, int offset=0) |
|
template<class T , class S > |
QList< T > | tfGetModelListByCriteria (const TCriteria &cri, QString sortColumn, Tf::SortOrder order, int limit=0, int offset=0) |
|
template<class T , class S > |
QList< T > | tfGetModelListByCriteria (const TCriteria &cri=TCriteria(), int limit=0, int offset=0) |
|
template<class T , class S > |
QList< T > | tfGetModelListByMongoCriteria (const TCriteria &cri, int sortColumn, Tf::SortOrder order, int limit=0, int offset=0) |
|
template<class T , class S > |
QList< T > | tfGetModelListByMongoCriteria (const TCriteria &cri, int limit=0, int offset=0) |
|
template<class T > |
QJsonArray | tfConvertToJsonArray (const QList< T > &list, const QStringList &properties=QStringList()) |
|
template<class T > |
QCborArray | tfConvertToCborArray (const QList< T > &list) |
|
◆ tfConvertToCborArray()
template<class T >
QCborArray tfConvertToCborArray |
( |
const QList< T > & |
list | ) |
|
|
inline |
◆ tfConvertToJsonArray()
template<class T >
QJsonArray tfConvertToJsonArray |
( |
const QList< T > & |
list, |
|
|
const QStringList & |
properties = QStringList() |
|
) |
| |
|
inline |
◆ tfGetModelListByCriteria() [1/5]
template<class T , class S >
QList< T > tfGetModelListByCriteria |
( |
const TCriteria & |
cri, |
|
|
const QList< QPair< int, Tf::SortOrder > > & |
sortColumns, |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
◆ tfGetModelListByCriteria() [2/5]
template<class T , class S >
QList< T > tfGetModelListByCriteria |
( |
const TCriteria & |
cri, |
|
|
const QList< QPair< QString, Tf::SortOrder > > & |
sortColumns, |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
◆ tfGetModelListByCriteria() [3/5]
template<class T , class S >
QList< T > tfGetModelListByCriteria |
( |
const TCriteria & |
cri, |
|
|
int |
sortColumn, |
|
|
Tf::SortOrder |
order, |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
◆ tfGetModelListByCriteria() [4/5]
template<class T , class S >
QList< T > tfGetModelListByCriteria |
( |
const TCriteria & |
cri, |
|
|
QString |
sortColumn, |
|
|
Tf::SortOrder |
order, |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
◆ tfGetModelListByCriteria() [5/5]
template<class T , class S >
QList< T > tfGetModelListByCriteria |
( |
const TCriteria & |
cri = TCriteria() , |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
◆ tfGetModelListByMongoCriteria() [1/2]
template<class T , class S >
QList< T > tfGetModelListByMongoCriteria |
( |
const TCriteria & |
cri, |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
◆ tfGetModelListByMongoCriteria() [2/2]
template<class T , class S >
QList< T > tfGetModelListByMongoCriteria |
( |
const TCriteria & |
cri, |
|
|
int |
sortColumn, |
|
|
Tf::SortOrder |
order, |
|
|
int |
limit = 0 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |