db_list_indexes From Online Manual

Revision as of 19:20, 7 October 2012 by Emanuele (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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: