The mi_key_nkeys() accessor function

The mi_key_nkeys() function returns the number of columns in the index key.

Syntax

mi_integer mi_key_nkeys(MI_AM_KEY_DESC *keyDesc)
keyDesc
Points to the key descriptor.

Return values

The integer indicates the number of keys in the index.