| Qore DbDataProvider Module Reference 2.2

Loading...
Searching...
No Matches
DbSelectRecordIterator.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace DbDataProvider {
28 class DbSelectRecordIterator : public AbstractDbRecordIterator {
29
30 public:
31 protected:
33 *hash<auto> where_cond;
34
35 public:
36
38
44 constructor(AbstractDatasource ds, *hash<auto> where_cond, hash<auto> select_options) ;
45
46
48
55 bool next();
56
57
59
65 auto memberGate(string key);
66
67
69 protected:
70 static AbstractSQLStatement prepareStatement(AbstractSQLStatement stmt, hash<auto> select_options);
71 public:
72
73};
74};
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