API17:JDatabaseMySQLImporter::getAddKeySQL
From Joomla! Documentation
JDatabaseMySQLImporter::getAddKeySQL
Description
Get the SQL syntax to add a key.
Since
Synopsis
protected JDatabaseMySQLImporter::getAddKeySQL ($table, $keys)
Parameter | Type | Default | Description |
---|---|---|---|
$table | string | The table name. | |
$keys | array | An array of the fields pertaining to this key. |
Returns
string
Defined in
libraries/joomla/database/database/mysqlimporter.php (line 155)
- see source code in BitBucket
Referenced by
See also
Examples
Code Examples