Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetFieldType

Retrieve the field type.

Declaration

CTDBTYPE ctdbGetFieldType(CTHANDLE Handle)

Description

ctdbGetFieldType() retrieves the field type, given a field handle. Use ctdbGetFieldLength() to retrieve the field length.

  • Handle [in] the Field Handle.

Returns

ctdbGetFieldType() returns the field type, or 0 on failure. Available types are described in c-treeDB API definitions.

See also

ctdbAllocField(), ctdbGetFieldNumber(), ctdbGetFieldName(), ctdbGetFieldLength(), ctdbSetFieldType()

TOCIndex