Product Documentation

c-treeACE V10.3 Update Guide

Previous Topic

Next Topic

ctdbGetRecordKeyPos()

The following new method has been implemented in the c-treeDB API to retrieve the given record position in the default index: ctdbGetRecordKeyPos()

Syntax

CTDBRET ctdbDECL ctdbGetRecordKeyPos(CTHANDLE Handle, pCTOFFSET pPosition)

Parameters

  • Handle [IN] - c-treeDB C API record handle
  • pPosition [OUT] - Position in the given index

Description

Retrieves the given record position in the default index. The returned position is the Ordinal key position, not a file offset.

Return

CTDBRET_OK on success

TOCIndex