XmlQueryContext::setReturnType

#include <DbXml.hpp>

void XmlQueryContext::setReturnType(ReturnType type);

The XmlQueryContext::setReturnType method allows the application to define the return type of the query result values.

Parameters

type

The type parameter specifies which of documents or values to return, and must be set to one of the following values:

  • XmlQueryContext::LiveValues

    A reference to the data stored in Berkeley DB XML is returned.

Class

XmlQueryContext

See Also

XmlQueryContext Methods