Loading...
Searching...
No Matches
AbstractDbRecordIterator.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace DbDataProvider {
class AbstractDbRecordIterator : public AbstractDataProviderRecordIterator {
public:
protected:
AbstractSQLStatement stmt;
bool release_transaction;
public:
constructor(bool release_transaction, AbstractSQLStatement stmt);
destructor();
bool valid();
bool next();
hash<auto> getValue();
keepTransactionLock();
*hash<string, AbstractDataField> getRecordType();
*AbstractDataProviderBulkRecordInterface getBulkApi();
};
};
DbDataProvider::AbstractDbRecordIterator
Defines the record iterator class for Table-based iterators.
Definition AbstractDbRecordIterator.qc.dox.h:28
DbDataProvider::AbstractDbRecordIterator::destructor
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
DbDataProvider::AbstractDbRecordIterator::keepTransactionLock
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
DbDataProvider::AbstractDbRecordIterator::next
bool next()
Increments the row pointer when retrieving rows from a select statement; returns True if there is a r...
DbDataProvider::AbstractDbRecordIterator::getBulkApi
*AbstractDataProviderBulkRecordInterface getBulkApi()
Returns the bulk data interface.
DbDataProvider::AbstractDbRecordIterator::release_transaction
bool release_transaction
release the transaction with a rollback in the destructor?
Definition AbstractDbRecordIterator.qc.dox.h:36
DbDataProvider::AbstractDbRecordIterator::stmt
AbstractSQLStatement stmt
the statement being iterated
Definition AbstractDbRecordIterator.qc.dox.h:33
DbDataProvider::AbstractDbRecordIterator::constructor
constructor(bool release_transaction, AbstractSQLStatement stmt)
creates the iterator
DbDataProvider::AbstractDbRecordIterator::valid
bool valid()
Returns True if the iterator is valid.
DbDataProvider::AbstractDbRecordIterator::getValue
hash< auto > getValue()
Returns a single record if the iterator is valid.
DbDataProvider::AbstractDbRecordIterator::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26