XmlResults::add

API Ref

#include <DbXml.hpp>

void XmlResults::add(const XmlValue &value)


Description: XmlResults::add

Adds the specified XmlValue to the end of the results set. Note that if the XmlResults object was created as the result of a lazy evaluation, this method throws an exception. This method is used primarily for application resolution of collections in queries (see XmlResolver and XmlManager::createResults).

Errors

The XmlResults::add 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, or those created from scratch using XmlManager::createResults.

APIRef

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