bool next()
Increments the row pointer when retrieving rows from a select statement; returns True if there is a r...
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
Defines the record iterator class for Table-based iterators.
Definition: AbstractDbRecordIterator.qc.dox.h:34
bool release_transaction
release the transaction with a rollback in the destructor?
Definition: AbstractDbRecordIterator.qc.dox.h:42
bool valid()
Returns True if the iterator is valid.
AbstractSQLStatement stmt
the statement being iterated
Definition: AbstractDbRecordIterator.qc.dox.h:39
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32
constructor(bool release_transaction, AbstractSQLStatement stmt)
creates the iterator
hash< auto > getValue()
Returns a single record if the iterator is valid.