JDatabaseImporterMySQLi::getDropPrimaryKeySQL: 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 key. | Get the SQL syntax to drop a key. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 30: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseImporterMySQLi::getDropPrimaryKeySQL|Other versions of JDatabaseImporterMySQLi::getDropPrimaryKeySQL]] | * [[API17:JDatabaseImporterMySQLi::getDropPrimaryKeySQL|Other versions of JDatabaseImporterMySQLi::getDropPrimaryKeySQL]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseImporterMySQLi::getDropPrimaryKeySQL | category=JDatabaseImporterMySQLi::getDropPrimaryKeySQL | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:37, 25 March 2017
JDatabaseImporterMySQLi::getDropPrimaryKeySQL
Description
Get the SQL syntax to drop a key.
protected function getDropPrimaryKeySQL ($table)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $table | string | The table name. |
See also
JDatabaseImporterMySQLi::getDropPrimaryKeySQL source code on BitBucket
Class JDatabaseImporterMySQLi
Subpackage Database- Other versions of JDatabaseImporterMySQLi::getDropPrimaryKeySQL
User contributed notes
Code Examples