API reference - Class QSqlQueryNotation used in Ruby API documentation Description: Binding of QSqlQuery Public constructors
Public methods
Public static methods and constants
Detailed description[static] QSqlQuery_BatchExecutionMode ValuesAsColumnsDescription: Enum constant QSqlQuery::ValuesAsColumns [static] QSqlQuery_BatchExecutionMode ValuesAsRowsDescription: Enum constant QSqlQuery::ValuesAsRows void addBindValue(const QVariant val,const QSql_QFlags_ParamTypeFlag type = QSql::In)Description: Method void QSqlQuery::addBindValue(const QVariant &val, QFlags<QSql::ParamTypeFlag> type) QSqlQuery assign(const QSqlQuery other)Description: Method QSqlQuery &QSqlQuery::operator=(const QSqlQuery &other) [const] void assign(const QSqlQuery other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. [const] int atDescription: Method int QSqlQuery::at() void bindValue(string placeholder,const QVariant val,const QSql_QFlags_ParamTypeFlag type = QSql::In)Description: Method void QSqlQuery::bindValue(const QString &placeholder, const QVariant &val, QFlags<QSql::ParamTypeFlag> type) void bindValue(int pos,const QVariant val,const QSql_QFlags_ParamTypeFlag type = QSql::In)Description: Method void QSqlQuery::bindValue(int pos, const QVariant &val, QFlags<QSql::ParamTypeFlag> type) [const] QVariant boundValue(string placeholder)Description: Method QVariant QSqlQuery::boundValue(const QString &placeholder) [const] QVariant boundValue(int pos)Description: Method QVariant QSqlQuery::boundValue(int pos) void clearDescription: Method void QSqlQuery::clear() void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] const QSqlDriver ptr driverDescription: Method const QSqlDriver *QSqlQuery::driver() [const] QSqlQuery dupDescription: Creates a copy of self bool exec(string query)Description: Method bool QSqlQuery::exec(const QString &query) bool execDescription: Method bool QSqlQuery::exec() bool execBatch(const QSqlQuery_BatchExecutionMode mode = QSqlQuery::ValuesAsRows)Description: Method bool QSqlQuery::execBatch(QSqlQuery::BatchExecutionMode mode) [const] string executedQueryDescription: Method QString QSqlQuery::executedQuery() void finishDescription: Method void QSqlQuery::finish() bool firstDescription: Method bool QSqlQuery::first() void forwardOnly=(bool forward)Description: Method void QSqlQuery::setForwardOnly(bool forward) [const] bool isActiveDescription: Method bool QSqlQuery::isActive() [const] bool isActive?Description: Method bool QSqlQuery::isActive() [const] bool isForwardOnlyDescription: Method bool QSqlQuery::isForwardOnly() [const] bool isForwardOnly?Description: Method bool QSqlQuery::isForwardOnly() [const] bool isNull(int field)Description: Method bool QSqlQuery::isNull(int field) [const] bool isNull?(int field)Description: Method bool QSqlQuery::isNull(int field) [const] bool isSelectDescription: Method bool QSqlQuery::isSelect() [const] bool isSelect?Description: Method bool QSqlQuery::isSelect() [const] bool isValidDescription: Method bool QSqlQuery::isValid() [const] bool isValid?Description: Method bool QSqlQuery::isValid() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. bool lastDescription: Method bool QSqlQuery::last() [const] QSqlError lastErrorDescription: Method QSqlError QSqlQuery::lastError() [const] QVariant lastInsertIdDescription: Method QVariant QSqlQuery::lastInsertId() [const] string lastQueryDescription: Method QString QSqlQuery::lastQuery() [static] new QSqlQuery new(QSqlResult ptr r)Description: Constructor QSqlQuery::QSqlQuery(QSqlResult *r) This method creates an object of class QSqlQuery. [static] new QSqlQuery new(string query = QString(),QSqlDatabase db = QSqlDatabase())Description: Constructor QSqlQuery::QSqlQuery(const QString &query, QSqlDatabase db) This method creates an object of class QSqlQuery. [static] new QSqlQuery new(QSqlDatabase db)Description: Constructor QSqlQuery::QSqlQuery(QSqlDatabase db) This method creates an object of class QSqlQuery. [static] new QSqlQuery new(const QSqlQuery other)Description: Constructor QSqlQuery::QSqlQuery(const QSqlQuery &other) This method creates an object of class QSqlQuery. bool nextDescription: Method bool QSqlQuery::next() bool nextResultDescription: Method bool QSqlQuery::nextResult() [const] int numRowsAffectedDescription: Method int QSqlQuery::numRowsAffected() [const] QSql_NumericalPrecisionPolicy numericalPrecisionPolicyDescription: Method QSql::NumericalPrecisionPolicy QSqlQuery::numericalPrecisionPolicy() void numericalPrecisionPolicy=(const QSql_NumericalPrecisionPolicy precisionPolicy)Description: Method void QSqlQuery::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy) bool prepare(string query)Description: Method bool QSqlQuery::prepare(const QString &query) bool previousDescription: Method bool QSqlQuery::previous() [const] QSqlRecord recordDescription: Method QSqlRecord QSqlQuery::record() [const] const QSqlResult ptr resultDescription: Method const QSqlResult *QSqlQuery::result() bool seek(int i,bool relative = false)Description: Method bool QSqlQuery::seek(int i, bool relative) void setForwardOnly(bool forward)Description: Method void QSqlQuery::setForwardOnly(bool forward) void setNumericalPrecisionPolicy(const QSql_NumericalPrecisionPolicy precisionPolicy)Description: Method void QSqlQuery::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy) [const] int sizeDescription: Method int QSqlQuery::size() [const] QVariant value(int i)Description: Method QVariant QSqlQuery::value(int i) |