Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbIsNullField

Check if the contents of a field are null.

Declaration

CTBOOL ctdbIsNullField(CTHANDLE Handle, NINT FieldNbr)

Description

ctdbIsNullField() checks to see if the contents of a field are null.

  • Handle [in] the record handle.
  • FieldNbr [in] the field number.

Note: this function looks at a single field in a single record/row.

Returns

ctdbIsNullField() returns YES if the field is NULL, or NO if the field is not NULL.

See also

ctdbHasNullFieldSupport(), ctdbGetFieldNullFlag(), ctdbClearField

To read/write the "NOT NULL" attribute of a column in the SQL layer, see ctdbGetFieldNullFlag and, see ctdbSetFieldNullFlag

TOCIndex