Db table structure: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
m (refresh SMW properties)
 
Line 8: Line 8:
|return=(array) an array with table name, columns, and indexes.
|return=(array) an array with table name, columns, and indexes.
}}
}}
<noinclude>
<noinclude>
[[Category:Database Package Functions]]</noinclude>
[[Category:Database Package Functions]]</noinclude>

Latest revision as of 16:46, 11 October 2012

Usage:

$smcFunc['db_table_structure'] (table_name)


Description: This function returns the structure of a table.

Parameters:

  • table_name (string) the name of an existing table.

Return: (array) an array with table name, columns, and indexes.



Advertisement: