Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetIndexNbrByName

Retrieve the index number given the index name

Declaration

NINT ctdbGetIndexNbrByName(CTHANDLE Handle, pTEXT name)

Description

ctdbGetIndexNbrByName() retrieves the index number given the index name.

  • Handle [in] the Table Handle.
  • name [in] the index name.

Returns

ctdbGetIndexNbrByName() returns the index number on success, or -1 on error.

See also

ctdbGetIndexNbr(), ctdbGetIndexByName(), ctdbGetIndexByUID()

TOCIndex