Loading...
Searching...
No Matches
DbSelectRecordIterator.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace DbDataProvider {
class DbSelectRecordIterator : public AbstractDbRecordIterator {
public:
protected:
*hash<auto> where_cond;
public:
constructor(AbstractDatasource ds, *hash<auto> where_cond, hash<auto> select_options) ;
bool next();
auto memberGate(string key);
protected:
static AbstractSQLStatement prepareStatement(AbstractSQLStatement stmt, hash<auto> select_options);
public:
};
};
DbDataProvider::AbstractDbRecordIterator
Defines the record iterator class for Table-based iterators.
Definition AbstractDbRecordIterator.qc.dox.h:28
DbDataProvider::AbstractDbRecordIterator::stmt
AbstractSQLStatement stmt
the statement being iterated
Definition AbstractDbRecordIterator.qc.dox.h:33
DbDataProvider::DbSelectRecordIterator
Defines the record iterator class for Table-based iterators.
Definition DbSelectRecordIterator.qc.dox.h:28
DbDataProvider::DbSelectRecordIterator::where_cond
*hash< auto > where_cond
search conditions
Definition DbSelectRecordIterator.qc.dox.h:33
DbDataProvider::DbSelectRecordIterator::prepareStatement
static AbstractSQLStatement prepareStatement(AbstractSQLStatement stmt, hash< auto > select_options)
Prepares the AbstractSQLStatement object for the iterator.
DbDataProvider::DbSelectRecordIterator::next
bool next()
Moves the current position to the next element; returns False if there are no more elements.
DbDataProvider::DbSelectRecordIterator::memberGate
auto memberGate(string key)
Returns the value of the given field in the current record, if the iterator is valid.
DbDataProvider::DbSelectRecordIterator::constructor
constructor(AbstractDatasource ds, *hash< auto > where_cond, hash< auto > select_options)
Creates the iterator.
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26