JDatabaseImporterMySQLi::getDropColumnSQL: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Get the SQL syntax to drop a column. | Get the SQL syntax to drop a column. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 38: | Line 38: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseImporterMySQLi::getDropColumnSQL|Other versions of JDatabaseImporterMySQLi::getDropColumnSQL]] | * [[API17:JDatabaseImporterMySQLi::getDropColumnSQL|Other versions of JDatabaseImporterMySQLi::getDropColumnSQL]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseImporterMySQLi::getDropColumnSQL | category=JDatabaseImporterMySQLi::getDropColumnSQL | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:37, 25 March 2017
JDatabaseImporterMySQLi::getDropColumnSQL
Description
Get the SQL syntax to drop a column.
protected function getDropColumnSQL (
$table
$name
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $table | string | The table name. | |
| $name | string | The name of the field to drop. |
See also
JDatabaseImporterMySQLi::getDropColumnSQL source code on BitBucket
Class JDatabaseImporterMySQLi
Subpackage Database- Other versions of JDatabaseImporterMySQLi::getDropColumnSQL
User contributed notes
Code Examples