JDatabaseImporterMySQLi::getDropColumnSQL: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Get the SQL syntax to drop a column. | Get the SQL syntax to drop a column. | ||
{{Description:JDatabaseImporterMySQLi::getDropColumnSQL}} | {{subst:Description:JDatabaseImporterMySQLi::getDropColumnSQL}} | ||
<source lang="php"> | <source lang="php"> | ||
protected function getDropColumnSQL ( | protected function getDropColumnSQL ( | ||
| Line 40: | 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]] | ||
{{SeeAlso:JDatabaseImporterMySQLi::getDropColumnSQL}} | {{subst:SeeAlso:JDatabaseImporterMySQLi::getDropColumnSQL}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:03, 24 March 2017
JDatabaseImporterMySQLi::getDropColumnSQL
Description
Get the SQL syntax to drop a column.
{{subst:Description:JDatabaseImporterMySQLi::getDropColumnSQL}}
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
{{subst:SeeAlso:JDatabaseImporterMySQLi::getDropColumnSQL}}
User contributed notes
<CodeExamplesForm />