Loading...
Searching...
No Matches
DbSelectBulkRecordInterface.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace DbDataProvider {
class DbSelectBulkRecordInterface : public AbstractDataProviderBulkRecordInterface {
public:
private:
AbstractSQLStatement stmt;
bool release_transaction;
public:
constructor(int block_size, AbstractDatasource ds, *hash<auto> where_cond, hash<auto> select_options) ;
constructor(int block_size, bool release_transaction, AbstractSQLStatement stmt);
destructor();
keepTransactionLock();
protected:
hash<string, list<auto>> getValueImpl();
public:
*hash<string, AbstractDataField> getRecordType();
};
};
DbDataProvider::DbSelectBulkRecordInterface
Defines the record iterator class for Table-based iterators.
Definition DbSelectBulkRecordInterface.qc.dox.h:28
DbDataProvider::DbSelectBulkRecordInterface::destructor
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
DbDataProvider::DbSelectBulkRecordInterface::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
DbDataProvider::DbSelectBulkRecordInterface::keepTransactionLock
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
DbDataProvider::DbSelectBulkRecordInterface::stmt
AbstractSQLStatement stmt
the statement being iterated
Definition DbSelectBulkRecordInterface.qc.dox.h:33
DbDataProvider::DbSelectBulkRecordInterface::getValueImpl
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
DbDataProvider::DbSelectBulkRecordInterface::release_transaction
bool release_transaction
release the transaction with a rollback in the destructor?
Definition DbSelectBulkRecordInterface.qc.dox.h:36
DbDataProvider::DbSelectBulkRecordInterface::constructor
constructor(int block_size, AbstractDatasource ds, *hash< auto > where_cond, hash< auto > select_options)
creates the iterator
DbDataProvider::DbSelectBulkRecordInterface::constructor
constructor(int block_size, bool release_transaction, AbstractSQLStatement stmt)
Creates the iterator.
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26