Db remove column: Difference between revisions From Online Manual

Jump to: navigation, search
(Created page with "{{smcfunc |function=db_remove_column |usage=$smcFunc['db_remove_column'](table_name, column_name, parameters, error) |description=This function removes a column. |parameters={{pa...")
 
m (refresh SMW properties)
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
|return=(bool) true if the column is successfully removed, false otherwise.
|return=(bool) true if the column is successfully removed, false otherwise.
}}
}}
<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_remove_column'](table_name, column_name, parameters, error)


Description: This function removes a column.

Parameters:

  • table_name (string) the name of an existing table
  • column_name (string) the name of the column that should be removed.
  • parameters (array) deprecated as of 2.0 RC3, leave empty
  • error (string) deprecated, leave empty

Return: (bool) true if the column is successfully removed, false otherwise.



Advertisement: