The mi_scan_nprojs() accessor function

The mi_scan_nprojs() function returns a value that is 1 less than the number of key columns.

Syntax

mi_integer  mi_scan_nprojs(MI_AM_SCAN_DESC *scanDesc)
scanDesc
Points to the scan descriptor.

Usage

Use the return value from this function to determine the number of times to loop through the related mi_scan_projs() function.

Return values

The integer return value indicates the number of key columns in an index entry.