summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_query_builder.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index fdea51bdd..0170281d7 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -2650,12 +2650,13 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
*
* Publicly-visible method to reset the QB values.
*
- * @return void
+ * @return CI_DB_query_builder
*/
public function reset_query()
{
$this->_reset_select();
$this->_reset_write();
+ return $this;
}
// --------------------------------------------------------------------