Add method chaining support ot CI_DB_query_builder::reset_query()
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index fdea51b..0170281 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -2650,12 +2650,13 @@
*
* 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;
}
// --------------------------------------------------------------------