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...")
 
m (refresh SMW properties)
 
(One intermediate revision by one other user not shown)
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]]
[[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_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: