XmlResults::size

#include <DbXml.hpp>

size_t 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.

Class

XmlResults

See Also

XmlResults Methods