XmlResults::size

API Ref

#include <DbXml.hpp>

size_t XmlResults::size();


Description: XmlResults::size

If a query was processed with eager evaluation, a call to the XmlResults::size method returns the number of values in the result set. If the query was processed with lazy evaluation, a call to XmlResults::size throws an exception.

Returns the number of values in the result set.

Errors

The XmlResults::size 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.