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