Name

cfg_item_count — return number of items in a section in configuration file

Synopsis

cfg_item_count ( in path varchar ,
in section varchar );

Description

Return the number of items that exist in the specified section of the INI file.

Parameters

path

Name of the INI file.

section

Name of the section in the INI file.

Return Values

An integer containing the number of items that exist in the section.

Examples

Example24.31.Simple examples

Find number of items in the [Parameters] section of the current virtuoso.ini file.

SQL> select cfg_item_count(virtuoso_ini_path(), 'Parameters');
callret
INTEGER
_______________________________________________________________

19