QPSQLResult

#include <QtSql/QPSQLResult>

Overview

Inheritance

QSqlResult
QPSQLResult

Public Functions Index

QPSQLResult (const QPSQLDriver *db, const QPSQLDriverPrivate *p)
~QPSQLResult ()
virtual QVarianthandle () const
virtual voidvirtual_hook (int id, void *data)

Protected Functions Index

voidcleanup ()
virtual QVariantdata (int i)
virtual boolexec ()
virtual boolfetch (int i)
virtual boolfetchFirst ()
virtual boolfetchLast ()
virtual boolisNull (int field)
virtual QVariantlastInsertId () const
virtual intnumRowsAffected ()
virtual boolprepare (const QString &query)
virtual QSqlRecordrecord () const
virtual boolreset (const QString &query)
virtual intsize ()
voidaddBindValue (const QVariant &val, QSql::ParamType type)Inherited
intat () const Inherited
BindingSyntaxbindingSyntax () const Inherited
virtual voidbindValue (int pos, const QVariant &val, QSql::ParamType type)Inherited
virtual voidbindValue (const QString &placeholder, const QVariant &val, QSql::ParamType type)Inherited
QSql::ParamTypebindValueType (const QString &placeholder) const Inherited
QSql::ParamTypebindValueType (int pos) const Inherited
QVariantboundValue (const QString &placeholder) const Inherited
QVariantboundValue (int pos) const Inherited
intboundValueCount () const Inherited
QStringboundValueName (int pos) const Inherited
QVector< QVariant > &boundValues () const Inherited
voidclear ()Inherited
voiddetachFromResultSet ()Inherited
const QSqlDriver *driver () const Inherited
boolexecBatch (bool arrayBind=false)Inherited
QStringexecutedQuery () const Inherited
virtual boolfetchNext ()Inherited
virtual boolfetchPrevious ()Inherited
boolhasOutValues () const Inherited
boolisActive () const Inherited
boolisForwardOnly () const Inherited
boolisSelect () const Inherited
boolisValid () const Inherited
QSqlErrorlastError () const Inherited
QStringlastQuery () const Inherited
boolnextResult ()Inherited
QSql::NumericalPrecisionPolicynumericalPrecisionPolicy () const Inherited
QSqlResult (const QSqlDriver *db)Inherited
virtual boolsavePrepare (const QString &sqlquery)Inherited
virtual voidsetActive (bool a)Inherited
virtual voidsetAt (int at)Inherited
virtual voidsetForwardOnly (bool forward)Inherited
virtual voidsetLastError (const QSqlError &e)Inherited
voidsetNumericalPrecisionPolicy (QSql::NumericalPrecisionPolicy policy)Inherited
virtual voidsetQuery (const QString &query)Inherited
virtual voidsetSelect (bool s)Inherited

Public Functions

QPSQLResult (

~QPSQLResult ()

Destructor.

virtualQVariant handle ()

virtual void virtual_hook (
  • intid,
  • void *data )

Protected Functions

void cleanup ()

virtualQVariant data (
  • inti)

virtual bool exec ()

virtual bool fetch (
  • inti)

virtual bool fetchFirst ()

virtual bool fetchLast ()

virtual bool isNull (
  • intfield)

virtualQVariant lastInsertId ()

virtual int numRowsAffected ()

virtual bool prepare (

virtualQSqlRecord record ()

virtual bool reset (

virtual int size ()

void addBindValue (
  • const QVariant &val,
  • QSql::ParamTypetype )
Inherited

int at ()Inherited

BindingSyntax bindingSyntax ()Inherited

virtual void bindValue (
  • intpos,
  • const QVariant &val,
  • QSql::ParamTypetype )
Inherited

virtual void bindValue (Inherited

QSql::ParamType bindValueType (Inherited

QSql::ParamType bindValueType (
  • intpos)
Inherited

QVariant boundValue (Inherited

QVariant boundValue (
  • intpos)
Inherited

int boundValueCount ()Inherited

QString boundValueName (
  • intpos)
Inherited

QVector< QVariant > & boundValues ()Inherited

void clear ()Inherited

void detachFromResultSet ()Inherited

const QSqlDriver * driver ()Inherited

bool execBatch (
  • boolarrayBind)
Inherited

QString executedQuery ()Inherited

virtual bool fetchNext ()Inherited

virtual bool fetchPrevious ()Inherited

bool hasOutValues ()Inherited

bool isActive ()Inherited

bool isForwardOnly ()Inherited

bool isSelect ()Inherited

bool isValid ()Inherited

QSqlError lastError ()Inherited

QString lastQuery ()Inherited

bool nextResult ()Inherited

QSql::NumericalPrecisionPolicy numericalPrecisionPolicy ()Inherited

QSqlResult (Inherited

virtual bool savePrepare (Inherited

virtual void setActive (
  • boola)
Inherited

virtual void setAt (
  • intat)
Inherited

virtual void setForwardOnly (
  • boolforward)
Inherited

virtual void setLastError (Inherited

void setNumericalPrecisionPolicy (
  • QSql::NumericalPrecisionPolicypolicy)
Inherited

virtual void setQuery (Inherited

virtual void setSelect (
  • bools)
Inherited

Last modified: 2014-06-24



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

comments powered by Disqus