Db list indexes: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
m (refresh SMW properties)
 
Line 10: Line 10:
|return=(''array'') the current indexes in a table.
|return=(''array'') the current indexes in a table.
}}
}}
<noinclude>
<noinclude>
[[Category:Database Package Functions]]</noinclude>
[[Category:Database Package Functions]]</noinclude>

Latest revision as of 16:46, 11 October 2012

Usage:

$smcFunc['db_list_indexes'](table_name, detail, parameters)


Description: This function returns the current indexes in a table in a multi-dimensional array.

Parameters:

  • table_name (string) the name of an existing table
  • detail (boolean) if true a formatted array will be returned of the index info, otherwise the plain straight index info is returned. The detailed array is 'name', 'type', 'columns'
  • parameters (array) not used

Return: (array) the current indexes in a table.



Advertisement: