$darkmode
Qore DbDataProvider Module Reference 2.1.1
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 
37 
38 public:
39 
41 
50  constructor(int block_size, AbstractDatasource ds, *hash<auto> where_cond, hash<auto> select_options) ;
51 
52 
55 
56 
59 
60 
62 
67 protected:
68  hash<string, list<auto>> getValueImpl();
69 public:
70 
71 
73 
75  *hash<string, AbstractDataField> getRecordType();
76 
77 };
78 };
Defines the record iterator class for Table-based iterators.
Definition: DbSelectBulkRecordInterface.qc.dox.h:28
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.
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
AbstractSQLStatement stmt
the statement being iterated
Definition: DbSelectBulkRecordInterface.qc.dox.h:33
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
bool release_transaction
release the transaction with a rollback in the destructor?
Definition: DbSelectBulkRecordInterface.qc.dox.h:36
constructor(int block_size, AbstractDatasource ds, *hash< auto > where_cond, hash< auto > select_options)
creates the iterator
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:26