#include <DbXml.hpp> void XmlResults::add(const XmlValue &value)
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).
The XmlResults::add
method may fail and
throw
XmlException
, encapsulating one of the following non-zero
errors:
The method can only be called on eagerly evaluated result sets, or those created from scratch using XmlManager::createResults.