XmlQueryContext::setReturnType

API Ref

#include <DbXml.hpp>

void XmlQueryContext::setReturnType(ReturnType type);

ReturnType XmlQueryContext::getReturnType();


Description: XmlQueryContext::setReturnType

The XmlQueryContext::setReturnType method allows the application to define whether the query should return live or dead document 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.
XmlQueryContext::DeadValues
A copy of the data stored in Berkeley DB XML is returned.

Description: XmlQueryContext::getReturnType

Retrieve the return type defined for this XmlQueryContext.


APIRef

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