TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Variables
tcriteriaconverter.cpp File Reference
#include <QMap>
#include <TCriteriaConverter>
Include dependency graph for tcriteriaconverter.cpp:

Variables

const QMap< int, QString > formatHash
 

Variable Documentation

◆ formatHash

const QMap<int, QString> formatHash
Initial value:
= {
{TSql::Equal, "=%1"},
{TSql::NotEqual, "<>%1"},
{TSql::LessThan, "<%1"},
{TSql::LessEqual, "<=%1"},
{TSql::GreaterEqual, ">=%1"},
{TSql::IsNull, " IS NULL"},
{TSql::IsEmpty, "(%1 IS NULL OR %1='')"},
{TSql::IsNotNull, " IS NOT NULL"},
{TSql::IsNotEmpty, "%1 IS NOT NULL AND %1<>''"},
{TSql::Like, " LIKE %1"},
{TSql::NotLike, " NOT LIKE %1"},
{TSql::LikeEscape, " LIKE %1 ESCAPE %2"},
{TSql::NotLikeEscape, " NOT LIKE %1 ESCAPE %2"},
{TSql::ILike, " ILIKE %1"},
{TSql::NotILike, " NOT ILIKE %1"},
{TSql::ILikeEscape, " ILIKE %1 ESCAPE %2"},
{TSql::NotILikeEscape, " NOT ILIKE %1 ESCAPE %2"},
{TSql::In, " IN (%1)"},
{TSql::NotIn, " NOT IN (%1)"},
{TSql::Between, " BETWEEN %1 AND %2"},
{TSql::NotBetween, " NOT BETWEEN %1 AND %2"},
{TSql::Any, "ANY (%1)"},
{TSql::All, "ALL (%1)"},
}
@ IsEmpty
Definition tfnamespace.h:278
@ GreaterThan
Definition tfnamespace.h:274
@ NotLike
Definition tfnamespace.h:282
@ Equal
Definition tfnamespace.h:271
@ NotIn
Definition tfnamespace.h:290
@ IsNull
Definition tfnamespace.h:277
@ In
Definition tfnamespace.h:289
@ NotBetween
Definition tfnamespace.h:292
@ Any
Definition tfnamespace.h:293
@ IsNotNull
Definition tfnamespace.h:279
@ LessThan
Definition tfnamespace.h:273
@ ILike
Definition tfnamespace.h:285
@ Like
Definition tfnamespace.h:281
@ NotLikeEscape
Definition tfnamespace.h:284
@ IsNotEmpty
Definition tfnamespace.h:280
@ LessEqual
Definition tfnamespace.h:275
@ GreaterEqual
Definition tfnamespace.h:276
@ NotILike
Definition tfnamespace.h:286
@ Between
Definition tfnamespace.h:291
@ All
Definition tfnamespace.h:294
@ NotILikeEscape
Definition tfnamespace.h:288
@ ILikeEscape
Definition tfnamespace.h:287
@ LikeEscape
Definition tfnamespace.h:283
@ NotEqual
Definition tfnamespace.h:272