Db list indexes: Difference between revisions From Online Manual

Jump to: navigation, search
(Created page with "{{smcfunc |function=db_list_indexes |usage=$smcFunc['db_list_indexes'](table_name, detail, parameters) |description=This function returns the current indexes in a table in a mult...")
 
No edit summary
Line 12: Line 12:


<noinclude>
<noinclude>
[[Category:Database Package Functions]]
[[Category:Database Package Functions]]</noinclude>
[[Category:2.0]]
[[Category:Customizing SMF]]
[[Category:Developing SMF]]</noinclude>

Revision as of 21:50, 8 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: