List of all members | Public Member Functions
QSqlQueryProto Class Reference

#include <qsqlqueryproto.h>

Inheritance diagram for QSqlQueryProto:
QObject QScriptable

Public Member Functions

 QSqlQueryProto (QObject *parent)
 
virtual ~QSqlQueryProto ()
 
Q_INVOKABLE void addBindValue (const QVariant &val, QSql::ParamType paramType=QSql::In)
 
Q_INVOKABLE int at () const
 
Q_INVOKABLE void bindValue (const QString &placeholder, const QVariant &val, QSql::ParamType paramType=QSql::In)
 
Q_INVOKABLE void bindValue (int pos, const QVariant &val, QSql::ParamType paramType=QSql::In)
 
Q_INVOKABLE QVariant boundValue (const QString &placeholder) const
 
Q_INVOKABLE QVariant boundValue (int pos) const
 
Q_INVOKABLE QMap< QString, QVariant > boundValues () const
 
Q_INVOKABLE void clear ()
 
const Q_INVOKABLE QSqlDriver * driver () const
 
Q_INVOKABLE bool exec ()
 
Q_INVOKABLE bool exec (const QString &query)
 
Q_INVOKABLE bool execBatch (QSqlQuery::BatchExecutionMode mode=QSqlQuery::ValuesAsRows)
 
Q_INVOKABLE QString executedQuery () const
 
Q_INVOKABLE void finish ()
 
Q_INVOKABLE bool first ()
 
Q_INVOKABLE bool isActive () const
 
Q_INVOKABLE bool isForwardOnly () const
 
Q_INVOKABLE bool isNull (int field) const
 
Q_INVOKABLE bool isSelect () const
 
Q_INVOKABLE bool isValid () const
 
Q_INVOKABLE bool last ()
 
Q_INVOKABLE QSqlError lastError () const
 
Q_INVOKABLE QVariant lastInsertId () const
 
Q_INVOKABLE QString lastQuery () const
 
Q_INVOKABLE bool next ()
 
Q_INVOKABLE bool nextResult ()
 
Q_INVOKABLE QSql::NumericalPrecisionPolicy numericalPrecisionPolicy () const
 
Q_INVOKABLE int numRowsAffected () const
 
Q_INVOKABLE bool prepare (const QString &query)
 
Q_INVOKABLE bool previous ()
 
Q_INVOKABLE QSqlRecord record () const
 
const Q_INVOKABLE QSqlResult * result () const
 
Q_INVOKABLE bool seek (int index, bool relative=false)
 
Q_INVOKABLE void setForwardOnly (bool forward)
 
Q_INVOKABLE void setNumericalPrecisionPolicy (QSql::NumericalPrecisionPolicy precisionPolicy)
 
Q_INVOKABLE int size () const
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE QVariant value (int index) const
 

Constructor & Destructor Documentation

◆ QSqlQueryProto()

QSqlQueryProto::QSqlQueryProto ( QObject parent)

◆ ~QSqlQueryProto()

QSqlQueryProto::~QSqlQueryProto ( )
virtual

Member Function Documentation

◆ addBindValue()

void QSqlQueryProto::addBindValue ( const QVariant &  val,
QSql::ParamType  paramType = QSql::In 
)

◆ at()

int QSqlQueryProto::at ( ) const

◆ bindValue() [1/2]

void QSqlQueryProto::bindValue ( const QString &  placeholder,
const QVariant &  val,
QSql::ParamType  paramType = QSql::In 
)

◆ bindValue() [2/2]

void QSqlQueryProto::bindValue ( int  pos,
const QVariant &  val,
QSql::ParamType  paramType = QSql::In 
)

◆ boundValue() [1/2]

QVariant QSqlQueryProto::boundValue ( const QString &  placeholder) const

◆ boundValue() [2/2]

QVariant QSqlQueryProto::boundValue ( int  pos) const

◆ boundValues()

QMap< QString, QVariant > QSqlQueryProto::boundValues ( ) const

◆ clear()

void QSqlQueryProto::clear ( )

◆ driver()

const QSqlDriver * QSqlQueryProto::driver ( ) const

◆ exec() [1/2]

bool QSqlQueryProto::exec ( )

◆ exec() [2/2]

bool QSqlQueryProto::exec ( const QString &  query)

◆ execBatch()

bool QSqlQueryProto::execBatch ( QSqlQuery::BatchExecutionMode  mode = QSqlQuery::ValuesAsRows)

◆ executedQuery()

QString QSqlQueryProto::executedQuery ( ) const

◆ finish()

void QSqlQueryProto::finish ( )

◆ first()

bool QSqlQueryProto::first ( )

◆ isActive()

bool QSqlQueryProto::isActive ( ) const

◆ isForwardOnly()

bool QSqlQueryProto::isForwardOnly ( ) const

◆ isNull()

bool QSqlQueryProto::isNull ( int  field) const

◆ isSelect()

bool QSqlQueryProto::isSelect ( ) const

◆ isValid()

bool QSqlQueryProto::isValid ( ) const

◆ last()

bool QSqlQueryProto::last ( )

◆ lastError()

QSqlError QSqlQueryProto::lastError ( ) const

◆ lastInsertId()

QVariant QSqlQueryProto::lastInsertId ( ) const

◆ lastQuery()

QString QSqlQueryProto::lastQuery ( ) const

◆ next()

bool QSqlQueryProto::next ( )

◆ nextResult()

bool QSqlQueryProto::nextResult ( )

◆ numericalPrecisionPolicy()

QSql::NumericalPrecisionPolicy QSqlQueryProto::numericalPrecisionPolicy ( ) const

◆ numRowsAffected()

int QSqlQueryProto::numRowsAffected ( ) const

◆ prepare()

bool QSqlQueryProto::prepare ( const QString &  query)

◆ previous()

bool QSqlQueryProto::previous ( )

◆ record()

QSqlRecord QSqlQueryProto::record ( ) const

◆ result()

const QSqlResult * QSqlQueryProto::result ( ) const

◆ seek()

bool QSqlQueryProto::seek ( int  index,
bool  relative = false 
)

◆ setForwardOnly()

void QSqlQueryProto::setForwardOnly ( bool  forward)

◆ setNumericalPrecisionPolicy()

void QSqlQueryProto::setNumericalPrecisionPolicy ( QSql::NumericalPrecisionPolicy  precisionPolicy)

◆ size()

int QSqlQueryProto::size ( ) const

◆ toString()

QString QSqlQueryProto::toString ( ) const

◆ value()

QVariant QSqlQueryProto::value ( int  index) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17