#include <resultBase.h>
Public Member Functions | |
const Query & | getQuery () |
Returns the query which was passed to the Result<T> constructor. | |
void | open () |
Executes the query and opens the result set for iteration. | |
bool | fetchNext () |
Fetches next result. | |
bool | fetchPrev () |
Fetches previous result. | |
void | close () |
Closes the Result. |
void ResultBase::open | ( | ) |
Executes the query and opens the result set for iteration.
Opens a cursor that iterates the query results If preload is specified, all keys (OIDs or KeyValues) are loaded immediately and the cursor is closed.
void ResultBase::close | ( | ) |
Closes the Result.
If preload was not specified, closes the underlying cursor. Frees all allocated resources.