The mi_scan_projs() accessor function

The mi_scan_projs() function identifies each key column.

Syntax

mi_smallint * mi_scan_projs(MI_AM_SCAN_DESC *scanDesc)
scanDesc
Points to the scan descriptor.

Usage

Use the return value from mi_scan_nprojs() to determine the number of times to execute mi_scan_projs().

Return values

Each of the small integers in the array that this function returns identifies a column by the position of that column in the row descriptor.

Related topics

See the description of:
  • The mi_column_* group of DataBlade® API functions and the row descriptor (MI_ROW_DESC data structure) in the Informix® DataBlade API Programmer's Guide