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

Description.  This method checks whether an attribute value is NULL.


int isNULL
    ) const

Parameters.  None.

Return value.  One of the following three values:

  • -1: The attribute value is not defined due to an error.

  • 0: The attribute value is defined, but is not NULL.

  • 1: The attribute value is defined and is NULL.


In the event that NdbTransaction::execute() has not yet been called, the value returned by isNULL() is not determined.