Set the number of fields in an index definition.
- Parameters:
-
| idef | Index configuration. |
| nfields | Number of fields. |
- Returns:
-
- DB_EINVAL Caused by: index definition pointer is null, number of fields< 0.
- See also:
- get_db_error, clear_db_error, Error Handling