Description.
This method performs identically to getValue(), except that it
is used to define a retrieval operation of an attribute's
previous value rather than the current value. See
Section 4.11.2.3, “NdbEventOperation::getValue()”, for
details.
Signature.
NdbRecAttr* getPreValue
(
const char* name,
char* value = 0
)
Parameters. This method takes two parameters:
The name of the attribute (as
a constant character pointer).
A pointer to a value:
If the attribute value is not
NULL, then the attribute value
is returned in this parameter.
If the attribute value is NULL,
then the attribute value is stored only in the
NdbRecAttr object returned by
this method.
See
value
Buffer Memory Allocation for more information
regarding this parameter.
Return Value.
An NdbRecAttr object to hold the value of
the attribute, or a NULL pointer indicating
that an error has occurred. See
Section 4.16, “The NdbRecAttr Class”.
