XmlResults::reset

API Ref

#include <DbXml.hpp>

void XmlResults::reset()


Description: XmlResults::reset

If a query was processed with eager evaluation, a call to the XmlResults::reset method resets the result set iterator, so that a subsequent call to XmlResults::next method will return the first value in the result set. If the query was processed with lazy evaluation then a call to XmlResults::reset method throws an exception.

Errors

The XmlResults::reset method may fail and throw XmlException, encapsulating one of the following non-zero errors:

LAZY_EVALUATION
The method can only be called on eagerly evaluated result sets.

Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue

APIRef

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.