tibasFieldDef_CreateEx()

Returns a new fieldDef instance and allows you to specify fieldName, fieldType, and key attributes.

Declaration

tibas_status tibasFieldDef_CreateEx
(tibasFieldDef*  fieldDef,
char*            fieldName,
tibas_type       fieldType,
tibas_boolean    key)

Parameters

Parameter Description
fieldDef The new instance of a field definition returned by the function
fieldName The field name.
fieldType The field type.
key A boolean value indicating whether the field is a key field or not.

Remarks

Use the tibasFieldDef_CreateEx() function to create a new fieldDef object and assign fieldName, fieldType, and key attributes.