XmlResults::copyResults

#include <DbXml.hpp>

XmlResults XmlResults::copyResults();

Creates a new XmlResults object and adds transient copies of all values in the result set. Copied values no longer reference database objects and can be safely used outside of transactions. Modifications of the values will not affect containers. The returned object is eagerly evaluated.

The XmlResults object may be lazily or eagerly evaluated. If it is eager, it is reset before and after use by calling XmlResults::reset.

Class

XmlResults

See Also

XmlResults Methods