QSqlResult

#include <QtSql/QSqlResult>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSqlResult


Overview

Public Functions Index

virtual ~QSqlResult ()
virtual QVarianthandle () const

Protected Functions Index

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

Public Functions

virtual~QSqlResult ()

Destructor.

virtualQVariant handle ()

Protected Functions

QSqlResult (

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

int at ()

BindingSyntax bindingSyntax ()

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

virtual void bindValue (

QSql::ParamType bindValueType (

QSql::ParamType bindValueType (
  • intpos)

QVariant boundValue (

QVariant boundValue (
  • intpos)

int boundValueCount ()

QString boundValueName (
  • intpos)

QVector< QVariant > & boundValues ()

void clear ()

QVariant data (
  • inti)

void detachFromResultSet ()

const QSqlDriver * driver ()

virtual bool exec ()

bool execBatch (
  • boolarrayBind)

QString executedQuery ()

bool fetch (
  • inti)

bool fetchFirst ()

bool fetchLast ()

virtual bool fetchNext ()

virtual bool fetchPrevious ()

bool hasOutValues ()

bool isActive ()

bool isForwardOnly ()

bool isNull (
  • inti)

bool isSelect ()

bool isValid ()

QSqlError lastError ()

virtualQVariant lastInsertId ()

QString lastQuery ()

bool nextResult ()

QSql::NumericalPrecisionPolicy numericalPrecisionPolicy ()

int numRowsAffected ()

virtual bool prepare (

virtualQSqlRecord record ()

bool reset (

virtual bool savePrepare (

virtual void setActive (
  • boola)

virtual void setAt (
  • intat)

virtual void setForwardOnly (
  • boolforward)

virtual void setLastError (

void setNumericalPrecisionPolicy (
  • QSql::NumericalPrecisionPolicypolicy)

virtual void setQuery (

virtual void setSelect (
  • bools)

int size ()

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

Last modified: 2015-07-24



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

comments powered by Disqus