TreeFrogFramework  1.18
Functions
tmodelutil.h File Reference
#include <QList>
#include <TCriteria>
#include <TSqlORMapper>
#include <TSqlORMapperIterator>
#include <TMongoODMapper>
Include dependency graph for tmodelutil.h:

Go to the source code of this file.

Functions

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=TCriteria(), int limit=0, int offset=0)
 
template<class T , class S >
QList< T > tfGetModelListByMongoCriteria (const TCriteria &cri, int limit=0, int offset=0)
 

Function Documentation

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
template<class T , class S >
QList<T> tfGetModelListByCriteria ( const TCriteria cri,
int  sortColumn,
Tf::SortOrder  order,
int  limit = 0,
int  offset = 0 
)
inline
template<class T , class S >
QList<T> tfGetModelListByCriteria ( const TCriteria cri = TCriteria(),
int  limit = 0,
int  offset = 0 
)
inline
template<class T , class S >
QList<T> tfGetModelListByMongoCriteria ( const TCriteria cri,
int  limit = 0,
int  offset = 0 
)
inline