Akonadi::Server::Query::Condition
Akonadi::Server::Query::Condition Class Reference
#include <query.h>
Public Types | |
using | List = QList<Condition> |
Public Member Functions | |
Condition (LogicOperator op=And) | |
void | addColumnCondition (const QString &column, CompareOperator op, const QString &column2) |
void | addCondition (const Condition &condition) |
void | addValueCondition (const QString &column, CompareOperator op, const QList< qint64 > &value) |
void | addValueCondition (const QString &column, CompareOperator op, const QSet< qint64 > &value) |
void | addValueCondition (const QString &column, CompareOperator op, const QVariant &value) |
bool | isEmpty () const |
void | setSubQueryMode (LogicOperator op) |
Condition::List | subConditions () const |
Detailed Description
Member Typedef Documentation
◆ List
Constructor & Destructor Documentation
◆ Condition()
|
explicit |
Member Function Documentation
◆ addColumnCondition()
void Condition::addColumnCondition | ( | const QString & | column, |
CompareOperator | op, | ||
const QString & | column2 ) |
◆ addCondition()
void Query::Condition::addCondition | ( | const Condition & | condition | ) |
◆ addValueCondition() [1/3]
|
inline |
Add a WHERE condition which compares a column with a given value.
This is an overload specially for passing a list of IDs, which is a fairly common case in Akonadi.
- Parameters
-
column The column that should be compared. op The operator used for comparison. value The value column
is compared to.
◆ addValueCondition() [2/3]
|
inline |
Add a WHERE condition which compares a column with a given value.
This is an overload specially for passing a list of IDs, which is a fairly common case in Akonadi.
- Parameters
-
column The column that should be compared. op The operator used for comparison. value The value column
is compared to.
◆ addValueCondition() [3/3]
void Condition::addValueCondition | ( | const QString & | column, |
CompareOperator | op, | ||
const QVariant & | value ) |
◆ isEmpty()
bool Query::Condition::isEmpty | ( | ) | const |
◆ setSubQueryMode()
void Query::Condition::setSubQueryMode | ( | LogicOperator | op | ) |
◆ subConditions()
Condition::List Query::Condition::subConditions | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.