Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbDictionary::isNull()

Description.  Indicate whether the null bit for the given column is set to true or false. The location of the null bit in relation to the row pointer is obtained from the passed NdbRecord object. If the column is not nullable, or if the column is not part of the NdbRecord definition, the method returns false.


static bool isNull
      const NdbRecord* record,
      const char* row,
      Uint32 attrId

Parameters.  A pointer to an NdbRecord object describing the row format, a pointer to the start of the row data, and the attribute ID of the column to check.

Return value.  Boolean true if the attribute ID exists in this NdbRecord, is nullable, and this row's null bit is set; otherwise, Boolean false.