Skip to content

Commit b10ea0a

Browse files
authored
Add getPrefix to User Guide
1 parent 32fd206 commit b10ea0a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

user_guide_src/source/database/queries.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ without needing to create a new connection you can use this method::
7272
$db->setPrefix('newprefix');
7373
$db->prefixTable('tablename'); // outputs newprefix_tablename
7474

75+
You can get the current prefix any time with this method::
76+
77+
$DBPrefix = $db->getPrefix();
78+
7579
**********************
7680
Protecting identifiers
7781
**********************

0 commit comments

Comments
 (0)