| Qore DbDataProvider Module Reference 2.0

DbSelectBulkRecordInterface.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace DbDataProvider {
28 class DbSelectBulkRecordInterface : public AbstractDataProviderBulkRecordInterface {
29
30 public:
31 private:
33 AbstractSQLStatement stmt;
34
36 bool release_transaction;
37
38 public:
39
41
50 constructor(int block_size, AbstractDatasource ds, *hash<auto> where_cond, hash<auto> select_options)
51 ;
52
53
55 destructor();
56
57
59 keepTransactionLock();
60
61
63
68 protected:
69 hash<string, list<auto>> getValueImpl();
70 public:
71
72
74
76 *hash<string, AbstractDataField> getRecordType();
77
78 };
79 };
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
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:26