ctdbGetField
Retrieve a field handle from a table, based on the field number.
Declaration
CTHANDLE ctdbGetField(CTHANDLE Handle, NINT Index)
Description
ctdbGetField() retrieves a field handle from a table, based on the field number. To retrieve a field handle from a table, based on the field name, use ctdbGetFieldByName(). To retrieve the field number, use ctdbGetFieldNumber().
Returns
ctdbGetField() returns the field handle or NULL on error.
See also
ctdbAllocTable(), ctdbGetFieldByName(), ctdbGetFieldNumber()