SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Represents the result of applying logical operators to RWDBExpr. It encapsulates search conditions that are used in SQL WHERE
clauses and CHECK
constraints.
More...
#include <rw/db/expr.h>
Public Member Functions | |
RWDBCriterion (void) | |
Public Member Functions inherited from RWDBExpr | |
RWDBExpr () | |
RWDBExpr (const RWDBExpr &expr) | |
RWDBExpr (char value) | |
RWDBExpr (unsigned char value) | |
More... | |
RWDBExpr (short value) | |
More... | |
RWDBExpr (unsigned short value) | |
More... | |
RWDBExpr (int value) | |
More... | |
RWDBExpr (unsigned int value) | |
More... | |
RWDBExpr (long int value) | |
More... | |
RWDBExpr (unsigned long int value) | |
More... | |
RWDBExpr (long long value) | |
More... | |
RWDBExpr (unsigned long long value) | |
More... | |
RWDBExpr (float value) | |
More... | |
RWDBExpr (double value) | |
More... | |
RWDBExpr (long double value) | |
More... | |
RWDBExpr (const char *value) | |
More... | |
RWDBExpr (const wchar_t *value) | |
More... | |
RWDBExpr (const RWCString &value) | |
More... | |
RWDBExpr (const RWDecimalPortable &value) | |
More... | |
RWDBExpr (const RWDateTime &value) | |
More... | |
RWDBExpr (const RWDBDateTime &value) | |
More... | |
RWDBExpr (const RWDBDuration &value) | |
More... | |
RWDBExpr (const RWDate &value) | |
More... | |
RWDBExpr (const RWTime &value) | |
More... | |
RWDBExpr (const RWDBBlob &value) | |
More... | |
RWDBExpr (const RWBasicUString &value) | |
More... | |
RWDBExpr (const RWDBMBString &value) | |
More... | |
RWDBExpr (const RWWString &value) | |
More... | |
RWDBExpr (const RWDBValue &value, bool usePhraseBook=true) | |
RWDBExpr (const RWDBColumn &column) | |
RWDBExpr (const RWDBSelectorBase &subSelect) | |
RWDBExpr (RWDBValueManip manip) | |
RWDBExpr (const RWCollection &collection) | |
RWDBExpr (const RWDBTable &) | |
RWDBExpr (const RWDBColumn &left, const RWDBExpr &right) | |
RWDBExpr (const RWDBColumn &left, const RWDBValue &right) | |
RWCString | asString (const RWDBPhraseBook &phraseBook, AsStringControlFlag control=normal) const |
RWDBCriterion | between (const RWDBExpr &expression1, const RWDBExpr &expression2) const |
RWDBCriterion | in (const RWDBExpr &expression1) const |
RWDBCriterion | isNull (void) const |
bool | isValid (void) const |
RWDBCriterion | leftOuterJoin (const RWDBExpr &expression) const |
RWDBCriterion | like (const RWDBExpr &expression1) const |
RWDBCriterion | matchUnique (const RWDBExpr &expression1) const |
RWDBExpr & | operator= (const RWDBExpr &expr) |
RWDBCriterion | rightOuterJoin (const RWDBExpr &expression) const |
RWDBCriterion is the result of applying logical operators to RWDBExpr. It is used to encapsulate search conditions that are used in SQL WHERE
clauses and SQL CHECK
constraints.
RWDBCriterion represents a specialized type of RWDBExpr that is evaluated in an SQL statement as a boolean value. RWDBCriterion adds neither components nor member functions to the base class. Instead, it ensures that a nonboolean expression is not placed in a context that requires a boolean expression during compilation.
RWDBCriterion is a special case of RWDBExpr. Please see RWDBExpr for details about RWDBCriterion usage, including operators and constructors.
In this example, an RWDBCriterion is created anonymously to be used as part of an SQL WHERE
clause:
RWDBCriterion::RWDBCriterion | ( | void | ) |
The default constructor creates an empty criterion.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.