KDb
KDbDriver.h
407 virtual bool supportsDefaultValue(const KDbField &field) const { Q_UNUSED(field); return true; }
444inline KDbEscapedString valueToSql(const KDbDriver *driver, KDbField::Type ftype, const QVariant& v)
An interface containing a set of tools for database administration.
Definition KDbAdmin.h:31
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
Provides information about a single driver plugin.
Definition KDbDriverMetaData.h:29
virtual KDbAdminTools * drv_createAdminTools() const
Definition KDbDriver.cpp:125
virtual bool isSystemObjectName(const QString &name) const =0
virtual QString sqlTypeName(KDbField::Type type, const KDbField &field) const
Definition KDbDriver.cpp:130
virtual bool drv_isSystemFieldName(const QString &name) const =0
virtual bool isSystemDatabaseName(const QString &name) const =0
static QString defaultSqlTypeName(KDbField::Type type)
Definition KDbDriver.cpp:166
virtual QByteArray drv_escapeIdentifier(const QByteArray &str) const =0
void initDriverSpecificKeywords(const char *const *keywords)
Definition KDbDriver.cpp:298
bool isDriverSpecificKeyword(const QByteArray &word) const
Definition KDbDriver.cpp:308
KDbEscapedString valueToSql(const KDbField *field, const QVariant &v) const
Like above method, for field.
Definition KDbDriver.h:162
KDbEscapedString valueToSql(const QString &ftype, const QVariant &v) const
Like above but with the fildtype as string.
Definition KDbDriver.h:157
virtual KDbEscapedString escapeBLOB(const QByteArray &array) const =0
static bool isKDbSystemObjectName(const QString &name)
Definition KDbDriver.cpp:173
virtual QString drv_escapeIdentifier(const QString &str) const =0
virtual bool supportsDefaultValue(const KDbField &field) const
Definition KDbDriver.h:407
@ MultipleTransactions
multiple concurrent trasactions are supported (this implies !SingleTransactions)
Definition KDbDriver.h:61
virtual KDbEscapedString escapeString(const QByteArray &str) const =0
virtual KDbEscapedString escapeString(const QString &str) const =0
virtual KDbEscapedString valueToSql(KDbField::Type ftype, const QVariant &v) const
Definition KDbDriver.cpp:246
bool isSystemFieldName(const QString &name) const
Definition KDbDriver.cpp:180
KDbConnection * removeConnection(KDbConnection *conn)
Definition KDbDriver.cpp:158
virtual KDbConnection * drv_createConnection(const KDbConnectionData &connData, const KDbConnectionOptions &options)=0
virtual KDbEscapedString addLimitTo1(const KDbEscapedString &sql, bool add=true)
Definition KDbDriver.cpp:303
static Type typeForString(const QString &typeString)
Definition KDbField.cpp:491
The KDbNArgExpression class represents a base class N-argument expression.
Definition KDbExpression.h:213
A builder for generating various types of native SQL statements.
Definition KDbNativeStatementBuilder.h:30
An iterator for a list of values of query schema parameters Allows to iterate over parameters and ret...
Definition KDbQuerySchemaParameter.shared.h:50
KDB_EXPORT QString escapeIdentifier(const QString &string)
Definition KDb.cpp:1334
KDB_EXPORT KDbEscapedString valueToSql(KDbField::Type ftype, const QVariant &v)
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:10:55 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:10:55 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.