KDb
KDbDriver.h
58 SingleTransactions = 1,
61 MultipleTransactions = 2,
65 NestedTransactions = 4,
68 CursorForward = 8,
70 CursorBackward = (CursorForward + 16),
72 CompactingDatabaseSupported = 32,
80 };
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 bool isSystemObjectName(const QString &name) const =0
virtual bool drv_isSystemFieldName(const QString &name) const =0
virtual bool isSystemDatabaseName(const QString &name) const =0
virtual QByteArray drv_escapeIdentifier(const QByteArray &str) const =0
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
virtual QString drv_escapeIdentifier(const QString &str) const =0
virtual bool supportsDefaultValue(const KDbField &field) const
Definition KDbDriver.h:407
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
virtual KDbConnection * drv_createConnection(const KDbConnectionData &connData, const KDbConnectionOptions &options)=0
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)
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.