tibasFieldDef_SetNullable()

Sets a specified field as nullable or not nullable.

Declaration

tibas_status tibasFieldDef_SetNullable
(tibasFieldDef fieldDef,
tibas_boolean   nullable)

Parameters

Parameter Description
fieldDef A fieldDef object that identifies the field that you want to set as nullable or not nullable.
nullable Valid values are TIBAS_TRUE or TIBAS_FALSE.

Remarks

Use the tibasFieldDef_SetNullable() function to set a specified field as nullable or not nullable. To set the field as nullable, specify TIBAS_TRUE for the nullable parameter; to set it as not nullable, specify TIBAS_FALSE.

Fields marked as nullable do not need to be assigned values, but if a value is assigned, the data type must match or be able to be upcasted.