KDb
KDbBinaryExpression.cpp
41 bool KDbBinaryExpressionData::validateInternal(KDbParseInfo *parseInfo, KDb::ExpressionCallStack* callStack)
104 //! constants because there's no evaluation and operations with NULL depend on whether we have TRUE or FALSE
235 For example, 100 is within Byte type, maximumForIntegerFieldTypes(Byte, Byte) is Byte but result
294 void KDbBinaryExpressionData::debugInternal(QDebug dbg, KDb::ExpressionCallStack* callStack) const
333 (left().constData() ? left()->toString(driver, params, callStack) : KDbEscapedString("<NULL>")) \
void setLeftOrRight(const KDbExpression &right, int index)
Only for KDbBinaryExpression::setLeft() and KDbBinaryExpression::setRight()
Definition: KDbExpression.cpp:574
Internal data class used to implement implicitly shared class KDbExpression.
Definition: KDbExpressionData.h:67
QTextStream & right(QTextStream &stream)
An iterator for a list of values of query schema parameters Allows to iterate over parameters and ret...
Definition: KDbQuerySchemaParameter.shared.h:49
void debugInternal(QDebug dbg, KDb::ExpressionCallStack *callStack) const override
Sends information about this expression to debug output dbg (internal).
Definition: KDbBinaryExpression.cpp:294
The KDbBinaryExpression class represents binary operation.
Definition: KDbExpression.h:340
Internal data class used to implement implicitly shared class KDbBinaryExpression.
Definition: KDbExpressionData.h:188
void ref()
QTextStream & left(QTextStream &stream)
QDebug & nospace()
void setType(KDbField::Type type)
Definition: KDbQueryParameterExpression.cpp:133
Internal data class used to implement implicitly shared class KDbQueryParameterExpression.
Definition: KDbExpressionData.h:242
The KDbQueryParameterExpression class represents query parameter expression.
Definition: KDbExpression.h:419
static KDb::ExpressionClass classForToken(KDbToken token)
Definition: KDbExpression.cpp:596
KDbBinaryExpression()
Definition: KDbBinaryExpression.cpp:374
static QString defaultSqlTypeName(KDbField::Type type)
Definition: KDbDriver.cpp:166
Internal data class used to implement implicitly shared class KDbConstExpression.
Definition: KDbExpressionData.h:217
KDB_EXPORT KDbField::Type maximumForIntegerFieldTypes(KDbField::Type t1, KDbField::Type t2)
Definition: KDb.cpp:1936
bool validateInternal(KDbParseInfo *parseInfo, KDb::ExpressionCallStack *callStack) override
Definition: KDbBinaryExpression.cpp:41
bool toBool() const const
KDbEscapedString concatenateFunctionToString(const KDbBinaryExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const
Generates native (driver-specific) function call for concatenation of two strings.
Definition: KDbDriver.cpp:390
The KDbExpression class represents a base class for all expressions.
Definition: KDbExpression.h:51
KDbField::Type typeInternal(KDb::ExpressionCallStack *callStack) const override
Definition: KDbBinaryExpression.cpp:77
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Nov 30 2023 04:10:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Nov 30 2023 04:10:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.