Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetCndxIndexLengthByName

Retrieve the length in bytes of the conditional expression string, given the index name.

Declaration

NINT ctdbGetCndxIndexLengthByName(CTHANDLE Handle, pTEXT indexname)

Description

ctdbGetCndxIndexLengthByName() retrieves the length in bytes of the conditional expression string, given the index name. To retrieve the conditional expression, use ctdbGetCndxIndex() or ctdbGetCndxIndexByName(). The conditional expression is added, deleted or updated with ctdbUpdateCndxIndex() or ctdbUpdateCndxIndexByName().

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

Returns

ctdbGetCndxIndexLengthByName() returns the conditional index length in bytes on success or -1 on failure.

See also

ctdbGetCndxIndexLength(), ctdbUpdateCndxIndex(), ctdbUpdateCndxIndexByName()

TOCIndex