KDb
MysqlDriver.cpp
The KDbBinaryExpression class represents binary operation.
Definition KDbExpression.h:341
Database specific connection data, e.g. host, port.
Definition KDbConnectionData.shared.h:36
Generic options for a single connection. The options are accessible using key/value pairs....
Definition KDbConnectionOptions.h:36
Provides database connection, allowing queries and data modification.
Definition KDbConnection.h:52
bool ROW_ID_FIELD_RETURNS_LAST_AUTOINCREMENTED_VALUE
Definition KDbDriverBehavior.h:108
KDbEscapedString GET_TABLE_NAMES_SQL
SQL statement used to obtain list of physical table names.
Definition KDbDriverBehavior.h:229
char OPENING_QUOTATION_MARK_BEGIN_FOR_IDENTIFIER
Definition KDbDriverBehavior.h:123
bool USING_DATABASE_REQUIRED_TO_CONNECT
Definition KDbDriverBehavior.h:139
char CLOSING_QUOTATION_MARK_BEGIN_FOR_IDENTIFIER
Definition KDbDriverBehavior.h:128
bool _1ST_ROW_READ_AHEAD_REQUIRED_TO_KNOW_IF_THE_RESULT_IS_EMPTY
Definition KDbDriverBehavior.h:188
virtual QString sqlTypeName(KDbField::Type type, const KDbField &field) const
Definition KDbDriver.cpp:130
KDbEscapedString toString(const KDbDriver *driver, KDbQuerySchemaParameterValueListIterator *params=nullptr, KDb::ExpressionCallStack *callStack=nullptr) const
Definition KDbExpression.cpp:469
static KDbEscapedString greatestOrLeastFunctionUsingCaseToString(const QString &name, const KDbDriver *driver, const KDbNArgExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack)
Definition KDbFunctionExpression.cpp:1393
static KDbEscapedString toString(const QString &name, const KDbDriver *driver, const KDbNArgExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack)
Definition KDbFunctionExpression.cpp:1361
The KDbNArgExpression class represents a base class N-argument expression.
Definition KDbExpression.h:213
An iterator for a list of values of query schema parameters Allows to iterate over parameters and ret...
Definition KDbQuerySchemaParameter.shared.h:50
void insert(const QByteArray &name, const QVariant &value, const QString &caption=QString())
Inserts property with a given name, value and caption.
Definition KDbUtils.cpp:660
#define K_PLUGIN_CLASS_WITH_JSON(classname, jsonFile)
Provides database connection, allowing queries and data modification.
Definition MysqlConnection.h:34
QString drv_escapeIdentifier(const QString &str) const override
Definition MysqlDriver.cpp:204
bool supportsDefaultValue(const KDbField &field) const override
Definition MysqlDriver.cpp:114
KDbEscapedString concatenateFunctionToString(const KDbBinaryExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const
Generates native (driver-specific) function call for concatenation of two strings.
Definition MysqlDriver.cpp:250
KDbEscapedString escapeString(const QString &str) const override
Escape a string for use as a value.
Definition MysqlDriver.cpp:125
KDbConnection * drv_createConnection(const KDbConnectionData &connData, const KDbConnectionOptions &options) override
Definition MysqlDriver.cpp:89
bool isSystemDatabaseName(const QString &name) const override
Definition MysqlDriver.cpp:101
QString sqlTypeName(KDbField::Type type, const KDbField &field) const override
Overrides the default implementation.
Definition MysqlDriver.cpp:215
KDbEscapedString escapeBLOB(const QByteArray &array) const override
Escape BLOB value array.
Definition MysqlDriver.cpp:184
bool isSystemObjectName(const QString &name) const override
Definition MysqlDriver.cpp:95
bool drv_isSystemFieldName(const QString &name) const override
Definition MysqlDriver.cpp:108
KDbEscapedString unicodeFunctionToString(const KDbNArgExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const override
Generates native (driver-specific) UNICODE() function call.
Definition MysqlDriver.cpp:240
KDbEscapedString lengthFunctionToString(const KDbNArgExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const override
Generates native (driver-specific) LENGTH() function call.
Definition MysqlDriver.cpp:223
KDbEscapedString greatestOrLeastFunctionToString(const QString &name, const KDbNArgExpression &args, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const override
Generates native (driver-specific) GREATEST() and LEAST() function call.
Definition MysqlDriver.cpp:231
KDB_EXPORT QString escapeBLOB(const QByteArray &array, BLOBEscapingType type)
QByteArray & replace(QByteArrayView before, QByteArrayView after)
int compare(QLatin1StringView s1, const QString &s2, Qt::CaseSensitivity cs)
qsizetype length() const const
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
const QChar * unicode() const const
CaseInsensitive
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.