API reference - Class QSqlResultNotation used in Ruby API documentation Description: Binding of QSqlResult Class hierarchy: QSqlResult
Public constructors
Public methods
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed descriptionvoid _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 destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, 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] 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. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. void addBindValue(const QVariant val,const QSql_QFlags_ParamTypeFlag type)Description: Method void QSqlResult::addBindValue(const QVariant &val, QFlags<QSql::ParamTypeFlag> type) This method is protected and can only be called from inside a derived class. [const] int atDescription: Method int QSqlResult::at() This method is protected and can only be called from inside a derived class. [virtual] void bindValue(int pos,const QVariant val,const QSql_QFlags_ParamTypeFlag type)Description: Virtual method void QSqlResult::bindValue(int pos, const QVariant &val, QFlags<QSql::ParamTypeFlag> type) This method can be reimplemented in a derived class. [virtual] void bindValue(string placeholder,const QVariant val,const QSql_QFlags_ParamTypeFlag type)Description: Virtual method void QSqlResult::bindValue(const QString &placeholder, const QVariant &val, QFlags<QSql::ParamTypeFlag> type) This method can be reimplemented in a derived class. [const] QSql_QFlags_ParamTypeFlag bindValueType(string placeholder)Description: Method QFlags<QSql::ParamTypeFlag> QSqlResult::bindValueType(const QString &placeholder) This method is protected and can only be called from inside a derived class. [const] QSql_QFlags_ParamTypeFlag bindValueType(int pos)Description: Method QFlags<QSql::ParamTypeFlag> QSqlResult::bindValueType(int pos) This method is protected and can only be called from inside a derived class. [const] unsigned int bindingSyntaxDescription: Method QSqlResult::BindingSyntax QSqlResult::bindingSyntax() This method is protected and can only be called from inside a derived class. [const] QVariant boundValue(string placeholder)Description: Method QVariant QSqlResult::boundValue(const QString &placeholder) This method is protected and can only be called from inside a derived class. [const] QVariant boundValue(int pos)Description: Method QVariant QSqlResult::boundValue(int pos) This method is protected and can only be called from inside a derived class. [const] int boundValueCountDescription: Method int QSqlResult::boundValueCount() This method is protected and can only be called from inside a derived class. [const] string boundValueName(int pos)Description: Method QString QSqlResult::boundValueName(int pos) This method is protected and can only be called from inside a derived class. [const] QVariant[] boundValuesDescription: Method QVector<QVariant> &QSqlResult::boundValues() This method is protected and can only be called from inside a derived class. void clearDescription: Method void QSqlResult::clear() This method is protected and can only be called from inside a derived class. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [virtual] QVariant data(int i)Description: Virtual method QVariant QSqlResult::data(int i) This method can be reimplemented in a derived class. void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead void detachFromResultSetDescription: Method void QSqlResult::detachFromResultSet() This method is protected and can only be called from inside a derived class. [const] const QSqlDriver ptr driverDescription: Method const QSqlDriver *QSqlResult::driver() This method is protected and can only be called from inside a derived class. [virtual] bool execDescription: Virtual method bool QSqlResult::exec() This method can be reimplemented in a derived class. bool execBatch(bool arrayBind = false)Description: Method bool QSqlResult::execBatch(bool arrayBind) This method is protected and can only be called from inside a derived class. [const] string executedQueryDescription: Method QString QSqlResult::executedQuery() This method is protected and can only be called from inside a derived class. [virtual] bool fetch(int i)Description: Virtual method bool QSqlResult::fetch(int i) This method can be reimplemented in a derived class. [virtual] bool fetchFirstDescription: Virtual method bool QSqlResult::fetchFirst() This method can be reimplemented in a derived class. [virtual] bool fetchLastDescription: Virtual method bool QSqlResult::fetchLast() This method can be reimplemented in a derived class. [virtual] bool fetchNextDescription: Virtual method bool QSqlResult::fetchNext() This method can be reimplemented in a derived class. [virtual] bool fetchPreviousDescription: Virtual method bool QSqlResult::fetchPrevious() This method can be reimplemented in a derived class. [virtual,const] QVariant handleDescription: Virtual method QVariant QSqlResult::handle() This method can be reimplemented in a derived class. [const] bool hasOutValuesDescription: Method bool QSqlResult::hasOutValues() This method is protected and can only be called from inside a derived class. [const] bool isActiveDescription: Method bool QSqlResult::isActive() This method is protected and can only be called from inside a derived class. [const] bool isForwardOnlyDescription: Method bool QSqlResult::isForwardOnly() This method is protected and can only be called from inside a derived class. [virtual] bool isNull(int i)Description: Virtual method bool QSqlResult::isNull(int i) This method can be reimplemented in a derived class. [const] bool isSelectDescription: Method bool QSqlResult::isSelect() This method is protected and can only be called from inside a derived class. [const] bool isValidDescription: Method bool QSqlResult::isValid() This method is protected and can only be called from inside a derived class. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] QSqlError lastErrorDescription: Method QSqlError QSqlResult::lastError() This method is protected and can only be called from inside a derived class. [virtual,const] QVariant lastInsertIdDescription: Virtual method QVariant QSqlResult::lastInsertId() This method can be reimplemented in a derived class. [const] string lastQueryDescription: Method QString QSqlResult::lastQuery() This method is protected and can only be called from inside a derived class. [static] new QSqlResult ptr newDescription: Creates a new object of this class Python specific notes:This method is the default initializer of the object bool nextResultDescription: Method bool QSqlResult::nextResult() This method is protected and can only be called from inside a derived class. [virtual] int numRowsAffectedDescription: Virtual method int QSqlResult::numRowsAffected() This method can be reimplemented in a derived class. [const] QSql_NumericalPrecisionPolicy numericalPrecisionPolicyDescription: Method QSql::NumericalPrecisionPolicy QSqlResult::numericalPrecisionPolicy() This method is protected and can only be called from inside a derived class. [virtual] bool prepare(string query)Description: Virtual method bool QSqlResult::prepare(const QString &query) This method can be reimplemented in a derived class. [virtual,const] QSqlRecord recordDescription: Virtual method QSqlRecord QSqlResult::record() This method can be reimplemented in a derived class. [virtual] bool reset(string sqlquery)Description: Virtual method bool QSqlResult::reset(const QString &sqlquery) This method can be reimplemented in a derived class. [virtual] bool savePrepare(string sqlquery)Description: Virtual method bool QSqlResult::savePrepare(const QString &sqlquery) This method can be reimplemented in a derived class. [virtual] void setActive(bool a)Description: Virtual method void QSqlResult::setActive(bool a) This method can be reimplemented in a derived class. [virtual] void setAt(int at)Description: Virtual method void QSqlResult::setAt(int at) This method can be reimplemented in a derived class. [virtual] void setForwardOnly(bool forward)Description: Virtual method void QSqlResult::setForwardOnly(bool forward) This method can be reimplemented in a derived class. [virtual] void setLastError(const QSqlError e)Description: Virtual method void QSqlResult::setLastError(const QSqlError &e) This method can be reimplemented in a derived class. void setNumericalPrecisionPolicy(const QSql_NumericalPrecisionPolicy policy)Description: Method void QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy) This method is protected and can only be called from inside a derived class. [virtual] void setQuery(string query)Description: Virtual method void QSqlResult::setQuery(const QString &query) This method can be reimplemented in a derived class. [virtual] void setSelect(bool s)Description: Virtual method void QSqlResult::setSelect(bool s) This method can be reimplemented in a derived class. [virtual] int sizeDescription: Virtual method int QSqlResult::size() This method can be reimplemented in a derived class. [virtual] void virtual_hook(int id,void * data)Description: Virtual method void QSqlResult::virtual_hook(int id, void *data) This method can be reimplemented in a derived class. |