Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbRecAttr::aRef()

Description.  This method is used to obtain a reference to an attribute value, as a char pointer. This pointer is aligned appropriately for the data type. The memory is released by the NDB API when NdbTransaction::close() is executed on the transaction which read the value.


char* aRef
    ) const

Parameters.  A pointer to the attribute value. Because this pointer is constant, this method can be called anytime after NdbOperation::getValue() has been called.

Return value.  None.