#include <QtSql/QPSQLResult>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for 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 ()


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 )

int at ()Inherited

BindingSyntax bindingSyntax ()Inherited

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

virtual void bindValue (Inherited

QSql::ParamType bindValueType (Inherited

QSql::ParamType bindValueType (
  • intpos)

QVariant boundValue (Inherited

QVariant boundValue (
  • intpos)

int boundValueCount ()Inherited

QString boundValueName (
  • intpos)

QVector< QVariant > & boundValues ()Inherited

void clear ()Inherited

void detachFromResultSet ()Inherited

const QSqlDriver * driver ()Inherited

bool execBatch (
  • boolarrayBind)

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)

virtual void setAt (
  • intat)

virtual void setForwardOnly (
  • boolforward)

virtual void setLastError (Inherited

void setNumericalPrecisionPolicy (
  • QSql::NumericalPrecisionPolicypolicy)

virtual void setQuery (Inherited

virtual void setSelect (
  • bools)

Last modified: 2015-03-26

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

comments powered by Disqus