summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-09-16 16:27:29 +0200
committerAndrey Andreev <narf@devilix.net>2017-09-16 16:28:17 +0200
commite8eb86764955c9c904b50db7c12a3be73c627406 (patch)
tree1608a5541eb597c33a84cade0e6d0a1789e3085c /user_guide_src
parent9385cfed8e61c4568d5ec93c8ee8900f314a5a5a (diff)
[ci skip] Merge pull request #5265 from mehdibo/patch-1
Fixed dbprefix() documentation
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/database/queries.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/database/queries.rst b/user_guide_src/source/database/queries.rst
index f626f1e83..710ababb0 100644
--- a/user_guide_src/source/database/queries.rst
+++ b/user_guide_src/source/database/queries.rst
@@ -66,7 +66,7 @@ the following::
If for any reason you would like to change the prefix programatically
without needing to create a new connection, you can use this method::
- $this->db->set_dbprefix('newprefix');
+ $this->db->set_dbprefix('newprefix_');
$this->db->dbprefix('tablename'); // outputs newprefix_tablename