Qore DbDataProvider Module Reference  2.0.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 
53 
56 
57 
60 
61 
63 
68 protected:
69  hash<string, list<auto>> getValueImpl();
70 public:
71 
72 
74 
76  *hash<string, AbstractDataField> getRecordType();
77 
78 };
79 };
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