summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-04 20:49:42 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-04 20:49:42 +0200
commit85d8ccf7fdf45af86b844046ec22720c2c25745d (patch)
treeeca75bc6fbde0a7fb7cb78743c08edf4e9ca4171
parent016c43354ef90cc0802456d814fb5a9f88451b6f (diff)
parent1db6da309a66ff202d43a4bbb5fdbd66d70afe13 (diff)
Merge pull request #3731 from LouisMilotte/patch-1
[ci skip] Update docs about CI_DB_forge::drop_table()
-rw-r--r--user_guide_src/source/database/forge.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/database/forge.rst b/user_guide_src/source/database/forge.rst
index 89fac023e..a4edada5c 100644
--- a/user_guide_src/source/database/forge.rst
+++ b/user_guide_src/source/database/forge.rst
@@ -227,7 +227,7 @@ Execute a DROP TABLE statement and optionally add an IF EXISTS clause.
$this->dbforge->drop_table('table_name');
// Produces: DROP TABLE IF EXISTS table_name
- $this->dbforge->drop_table('table_name');
+ $this->dbforge->drop_table('table_name',TRUE);
Renaming a table
@@ -405,4 +405,4 @@ Class Reference
:returns: TRUE on success, FALSE on failure
:rtype: bool
- Renames a table. Usage: See `Renaming a table`_. \ No newline at end of file
+ Renames a table. Usage: See `Renaming a table`_.