Defines a buffered record iterator class for remote database connections; uses multiplexed I/O.
More...
|
| constructor (DbRemoteBase remote, string table, *hash< auto > where_cond, *hash< auto > search_options) |
| Creates the iterator. More...
|
|
| constructor (bool release_transaction, DbRemoteReceive recv) |
| Creates the iterator. More...
|
|
| destructor () |
| Rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionLock() was not called.
|
|
bool | valid () |
| Returns True if the iterator is valid. More...
|
|
bool | next () |
| Increments the row pointer when retrieving rows from a select statement; returns True if there is a row to retrieve, False if not. More...
|
|
hash< auto > | getValue () |
| Returns a single record if the iterator is valid. More...
|
|
| keepTransactionLock () |
| Ensures that no rollback is performed when the object is destroyed.
|
|
auto | memberGate (string key) |
| Returns the value of the given field in the current row, if the iterator is valid. More...
|
|
|
static private DbRemoteReceive | getReceiver (DbRemoteBase remote, string table, *hash< auto > where_cond, *hash< auto > search_options) |
| Creates the receiver.
|
|
Defines a buffered record iterator class for remote database connections; uses multiplexed I/O.
- See also
- DbRemoteReceive for more information
◆ constructor()
RemoteDbDataProvider::RemoteDbTableRecordIterator::constructor |
( |
DbRemoteBase |
remote, |
|
|
string |
table, |
|
|
*hash< auto > |
where_cond, |
|
|
*hash< auto > |
search_options |
|
) |
| |
Creates the iterator.
- Parameters
-
remote | the remote connection |
table | the remote table to select from |
where_cond | there "where" condition hash |
search_options | search options; assumed to have already been processed for validity before this call |
The documentation for this class was generated from the following file:
- RemoteDbTableRecordIterator.qc