Qore DbDataProvider Module Reference  2.0
DbTableRecordIterator.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace DbDataProvider {
29 
30 public:
31 protected:
33  AbstractTable table;
34 
35 public:
36 
38 
41  constructor(AbstractTable table, *hash<auto> where_cond, *hash<auto> search_options)
42 : AbstractDbRecordIterator(!table.getDatasource().currentThreadInTransaction(), table.getStatement(search_options + {'where': where_cond}));
43 
44 
46 
52  auto memberGate(string key);
53 
54 
56 
58  *hash<string, AbstractDataField> getRecordType();
59 
60 };
61 };
Defines the record iterator class for Table-based iterators.
Definition: AbstractDbRecordIterator.qc.dox.h:28
constructor(bool release_transaction, AbstractSQLStatement stmt)
creates the iterator
Defines the record iterator class for Table-based iterators.
Definition: DbTableRecordIterator.qc.dox.h:28
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
AbstractTable table
The table being iterated.
Definition: DbTableRecordIterator.qc.dox.h:33
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:26