18#include <QtSql/qsqldriver.h>
21#define Q_EXPORT_SQLDRIVER_OCI
23#define Q_EXPORT_SQLDRIVER_OCI Q_SQL_EXPORT
51 const QString &connOpts)
override;
52 void close()
override;
58 bool trimStrings)
const override;
The QSqlDriver class is an abstract base class for accessing specific SQL databases.
virtual QString formatValue(const QSqlField &field, bool trimStrings=false) const
Returns a string representation of the field value for the database.
virtual bool commitTransaction()
This function is called to commit a transaction.
IdentifierType
This enum contains a list of SQL identifier types.
virtual QSqlResult * createResult() const =0
Creates an empty SQL result on the database.
virtual QSqlIndex primaryIndex(const QString &tableName) const
Returns the primary index for table tableName.
virtual bool beginTransaction()
This function is called to begin a transaction.
virtual QSqlRecord record(const QString &tableName) const
Returns a QSqlRecord populated with the names of the fields in table tableName.
DriverFeature
This enum contains a list of features a driver might support.
virtual bool rollbackTransaction()
This function is called to rollback a transaction.
virtual void close()=0
Derived classes must reimplement this pure virtual function in order to close the database connection...
virtual QString escapeIdentifier(const QString &identifier, IdentifierType type) const
Returns the identifier escaped according to the database rules.
virtual QVariant handle() const
Returns the low-level database handle wrapped in a QVariant or an invalid variant if there is no hand...
virtual bool open(const QString &db, const QString &user=QString(), const QString &password=QString(), const QString &host=QString(), int port=-1, const QString &connOpts=QString())=0
Derived classes must reimplement this pure virtual function to open a database connection on database...
virtual int maximumIdentifierLength(IdentifierType type) const
virtual bool hasFeature(DriverFeature f) const =0
Returns true if the driver supports feature feature; otherwise returns false.
virtual QStringList tables(QSql::TableType tableType) const
Returns a list of the names of the tables in the database.
The QSqlField class manipulates the fields in SQL database tables and views.
The QSqlIndex class provides functions to manipulate and describe database indexes.
The QSqlRecord class encapsulates a database record.
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
struct OCISvcCtx OCISvcCtx
#define Q_EXPORT_SQLDRIVER_OCI
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent