Db table structure: Difference between revisions From Online Manual

Jump to: navigation, search
(Created page with "{{smcfunc |function=db_table_structure |usage=$smcFunc['db_table_structure'] (table_name) |description=This function returns the structure of a table. |parameters={{parmdesc |t...")
 
No edit summary
Line 10: Line 10:


<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:52, 8 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: