| Qore DbDataProvider Module Reference 2.2

Loading...
Searching...
No Matches
DbSelectBulkRecordInterface.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
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
54
58 constructor(int block_size, bool release_transaction, AbstractSQLStatement stmt);
59
60
62 destructor();
63
64
66 keepTransactionLock();
67
68
70
75 protected:
76 hash<string, list<auto>> getValueImpl();
77 public:
78
79
81
83 *hash<string, AbstractDataField> getRecordType();
84
85};
86};
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