DbTableRecordIterator.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// minimum required Qore version
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace DbDataProvider {
class DbTableRecordIterator : public AbstractDbRecordIterator {
public:
protected:
AbstractTable table;
public:
constructor(AbstractTable table, *hash<auto> where_cond, *hash<auto> search_options)
: AbstractDbRecordIterator(!table.getDatasource().currentThreadInTransaction(), table.getStatement(search_options + {'where': where_cond}));
auto memberGate(string key);
*hash<string, AbstractDataField> getRecordType();
};
};
DbDataProvider::DbTableRecordIterator
Defines the record iterator class for Table-based iterators.
Definition: DbTableRecordIterator.qc.dox.h:34
DbDataProvider::AbstractDbRecordIterator
Defines the record iterator class for Table-based iterators.
Definition: AbstractDbRecordIterator.qc.dox.h:34
DbDataProvider::DbTableRecordIterator::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
DbDataProvider::DbTableRecordIterator::table
AbstractTable table
The table being iterated.
Definition: DbTableRecordIterator.qc.dox.h:39
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32
DbDataProvider::AbstractDbRecordIterator::constructor
constructor(bool release_transaction, AbstractSQLStatement stmt)
creates the iterator