source: src/orm/sqlcondition.cpp @ 5a73d27

qt5
Last change on this file since 5a73d27 was 5a73d27, checked in by komarma <komarma@…>, 12 years ago

Adding orm module

  • Property mode set to 100644
File size: 610 bytes
Line 
1#include "sqlcondition.h"
2
3//static char* SqlTerm::sOperatorNames[] = {"=", "<>", ">", ">=", "<", "<="};
4//
5//QString SqlTerm::toString() const
6//{
7//    return QString("%1 %2 %3").arg(mColumn, sOperatorNames[mOperator], mValue);
8//}
9//
10//QString SqlAndCondition::toString() const
11//{
12//    return QString("(%1) AND (%2)").arg(mLeft.toString(), mRight.toString());
13//}
14//
15//QString SqlOrCondition::toString() const
16//{
17//    return QString("(%1) OR (%2)").arg(mLeft.toString(), mRight.toString());
18//}
19//
20//QString SqlNotCondition::toString() const
21//{
22//    return QString("!(%1)").arg(mCond.toString());
23//}
Note: See TracBrowser for help on using the repository browser.