Qore DbDataProvider Module Reference  1.0
DbSelectBulkRecordInterface.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // minimum required Qore version
26 // assume local scope for variables, do not use "$" signs
27 // require type definitions everywhere
29 // enable all warnings
30 
32 namespace DbDataProvider {
34 class DbSelectBulkRecordInterface : public AbstractDataProviderBulkRecordInterface {
35 
36 public:
37 private:
39  AbstractSQLStatement stmt;
40 
43 
44 public:
45 
47 
56  constructor(int block_size, AbstractDatasource ds, *hash<auto> where_cond, hash<auto> select_options)
57  ;
58 
59 
61  destructor();
62 
63 
66 
67 
69 
74 protected:
75  hash<string, list<auto>> getValueImpl();
76 public:
77 
78 };
79 };
DbDataProvider::DbSelectBulkRecordInterface::constructor
constructor(int block_size, AbstractDatasource ds, *hash< auto > where_cond, hash< auto > select_options)
creates the iterator
DbDataProvider::DbSelectBulkRecordInterface::release_transaction
bool release_transaction
release the transaction with a rollback in the destructor?
Definition: DbSelectBulkRecordInterface.qc.dox.h:42
DbDataProvider::DbSelectBulkRecordInterface::destructor
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
DbDataProvider::DbSelectBulkRecordInterface::stmt
AbstractSQLStatement stmt
the statement being iterated
Definition: DbSelectBulkRecordInterface.qc.dox.h:39
DbDataProvider::DbSelectBulkRecordInterface::getValueImpl
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
DbDataProvider::DbSelectBulkRecordInterface::keepTransactionLock
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
DbDataProvider::DbSelectBulkRecordInterface
Defines the record iterator class for Table-based iterators.
Definition: DbSelectBulkRecordInterface.qc.dox.h:34
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32