Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::FindRowid

Syntax

CTBOOL FindRowid(CTROWID rowid, CTFIND_MODE FindMode)

Parameters

  • rowid [in] Rowid of record being sought
  • FindMode [in] The find mode for the search. Valid values for the find mode are shown in the "Find Modes".
    Notice that when the FindMode CTFIND_EQ is used, all segments that compose the index must be fulfilled, and also the index cannot allow duplicates.

Description

Verifies if a record exist at a given rowid value. To retrieve the record rowid, use GetRowid(). One table has the rowid record enabled by default at creation time. To verify if one table has support to rowid, use CTTable::HasRowid().

Return

FindRowid() returns YES if the record is located, NO otherwise.

See also

GetRowid(), CTTable::HasRowid()

TOCIndex