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...")
 
m (refresh SMW properties)
 
(One intermediate revision by one other user not shown)
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]]
[[Category:Database Package Functions]]</noinclude>
[[Category:2.0]]
[[Category:Customizing SMF]]
[[Category:Developing SMF]]</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: