Qore DbDataProvider Module Reference 2.0.1
Loading...
Searching...
No Matches
DbTableRecordIterator.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace DbDataProvider {
29
30public:
31protected:
33 AbstractTable table;
34
35public:
36
38
41 constructor(AbstractTable table, *hash<auto> where_cond, *hash<auto> search_options)
42 : AbstractDbRecordIterator(!table.getDatasource().currentThreadInTransaction(),
43 table.getStatement(search_options + {'where': where_cond}));
44
45
47
53 auto memberGate(string key);
54
55
57
59 *hash<string, AbstractDataField> getRecordType();
60
61};
62};
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
constructor(AbstractTable table, *hash< auto > where_cond, *hash< auto > search_options) auto memberGate(string key)
creates the iterator
*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