JDatabaseQueryMySQL::dropIfExists: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m preparing for archive only |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<source lang="php"> | <source lang="php"> | ||
public function dropIfExists ($table_name) | public function dropIfExists ($table_name) | ||
| Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseQueryMySQL::dropIfExists source code''' on [[jplatform:database/database/mysqlquery.php#cl-311|BitBucket]] | * {{JVer|11.1}} '''JDatabaseQueryMySQL::dropIfExists source code''' on [[jplatform:database/database/mysqlquery.php#cl-311|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseQueryMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseQueryMySQL|JDatabaseQueryMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseQueryMySQL::dropIfExists|Other versions of JDatabaseQueryMySQL::dropIfExists]] | * [[API17:JDatabaseQueryMySQL::dropIfExists|Other versions of JDatabaseQueryMySQL::dropIfExists]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseQueryMySQL::dropIfExists | category=JDatabaseQueryMySQL::dropIfExists | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:43, 25 March 2017
JDatabaseQueryMySQL::dropIfExists
Description
public function dropIfExists ($table_name)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $table_name | string | A string |
- Returns Drop if exists syntax
- Defined on line 319 of libraries/joomla/database/database/mysqlquery.php
- Since

See also
JDatabaseQueryMySQL::dropIfExists source code on BitBucket
Class JDatabaseQueryMySQL
Subpackage Database- Other versions of JDatabaseQueryMySQL::dropIfExists
User contributed notes
Code Examples