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.

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.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.