Loading...
Searching...
No Matches
DbTableRecordIterator.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
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::AbstractDbRecordIterator
Defines the record iterator class for Table-based iterators.
Definition: AbstractDbRecordIterator.qc.dox.h:28
DbDataProvider::AbstractDbRecordIterator::constructor
constructor(bool release_transaction, AbstractSQLStatement stmt)
creates the iterator
DbDataProvider::DbTableRecordIterator
Defines the record iterator class for Table-based iterators.
Definition: DbTableRecordIterator.qc.dox.h:28
DbDataProvider::DbTableRecordIterator::memberGate
constructor(AbstractTable table, *hash< auto > where_cond, *hash< auto > search_options) auto memberGate(string key)
creates the iterator
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:33
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:26