QODBCDriver

#include <QtSql/QODBCDriver>

Overview

Inheritance

QSqlDriver
QODBCDriver

Public Functions Index

QODBCDriver (QObject *parent=0)
QODBCDriver (SQLHANDLE env, SQLHANDLE con, QObject *parent=0)
virtual ~QODBCDriver ()
virtual voidclose ()
virtual QSqlResult *createResult () const
virtual QStringescapeIdentifier (const QString &identifier, IdentifierType type) const
virtual QStringformatValue (const QSqlField &field, bool trimStrings) const
virtual QVarianthandle () const
virtual boolhasFeature (DriverFeature f) const
virtual boolopen (const QString &db, const QString &user, const QString &password, const QString &host, int port, const QString &connOpts)
virtual QSqlIndexprimaryIndex (const QString &tablename) const
virtual QSqlRecordrecord (const QString &tablename) const
virtual QStringListtables (QSql::TableType) const
boolisIdentifierEscaped (const QString &identifier, IdentifierType type) const Inherited
virtual boolisOpen () const Inherited
boolisOpenError () const Inherited
QSqlErrorlastError () const Inherited
QSql::NumericalPrecisionPolicynumericalPrecisionPolicy () const Inherited
QSqlDriver (QObject *parent=0)Inherited
voidsetNumericalPrecisionPolicy (QSql::NumericalPrecisionPolicy precisionPolicy)Inherited
virtual QStringsqlStatement (StatementType type, const QString &tableName, const QSqlRecord &rec, bool preparedStatement) const Inherited
QStringstripDelimiters (const QString &identifier, IdentifierType type) const Inherited
QStringListsubscribedToNotifications () const Inherited
boolsubscribeToNotification (const QString &name)Inherited
boolunsubscribeFromNotification (const QString &name)Inherited

Protected Functions Index

virtual boolbeginTransaction ()
virtual boolcommitTransaction ()
virtual boolrollbackTransaction ()
virtual voidsetLastError (const QSqlError &e)Inherited
virtual voidsetOpen (bool o)Inherited
virtual voidsetOpenError (bool e)Inherited

Signals Index

Only has inherited signals

voidnotification (const QString &name)Inherited

Public Types

(Only has inherited public types)

DriverFeature Inherited

Transactions
QuerySize
BLOB
Unicode
PreparedQueries
NamedPlaceholders
PositionalPlaceholders
LastInsertId
BatchOperations
SimpleLocking
LowPrecisionNumbers
EventNotifications
FinishQuery
MultipleResultSets

IdentifierType Inherited

FieldName
TableName

StatementType Inherited

WhereStatement
SelectStatement
UpdateStatement
InsertStatement
DeleteStatement

Public Functions

QODBCDriver (

QODBCDriver (
  • SQLHANDLEenv,
  • SQLHANDLEcon,
  • QObject *parent )

virtual~QODBCDriver ()

Destructor.

virtual void close ()

virtualQSqlResult * createResult ()

virtualQString escapeIdentifier (
  • const QString &identifier,
  • IdentifierTypetype )

virtualQString formatValue (

virtualQVariant handle ()

virtual bool hasFeature (
  • DriverFeaturef)

virtual bool open (

virtualQSqlIndex primaryIndex (

virtualQSqlRecord record (

virtualQStringList tables (
  • QSql::TableType)

bool isIdentifierEscaped (
  • const QString &identifier,
  • IdentifierTypetype )
Inherited

virtual bool isOpen ()Inherited

bool isOpenError ()Inherited

QSqlError lastError ()Inherited

QSql::NumericalPrecisionPolicy numericalPrecisionPolicy ()Inherited

QSqlDriver (Inherited

void setNumericalPrecisionPolicy (
  • QSql::NumericalPrecisionPolicyprecisionPolicy)
Inherited

virtualQString sqlStatement (
  • StatementTypetype,
  • const QString &tableName,
  • const QSqlRecord &rec,
  • boolpreparedStatement )
Inherited

QString stripDelimiters (
  • const QString &identifier,
  • IdentifierTypetype )
Inherited

QStringList subscribedToNotifications ()Inherited

bool subscribeToNotification (Inherited

bool unsubscribeFromNotification (Inherited

Protected Functions

virtual bool beginTransaction ()

virtual bool commitTransaction ()

virtual bool rollbackTransaction ()

virtual void setLastError (Inherited

virtual void setOpen (
  • boolo)
Inherited

virtual void setOpenError (
  • boole)
Inherited

Signals

(Only has inherited signals)

void notification (Inherited

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus