diff options
author | Andrey Andreev <narf@devilix.net> | 2014-12-11 15:30:13 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-12-11 15:30:13 +0100 |
commit | 435e0c280b3e5030a367e19b1ae8448d5114ef78 (patch) | |
tree | 83c572b6d2254ec229fce7ae8b14dfe0da43b25b /system | |
parent | 4a587f5bf3d7c26112e0cf8f8d54299784ce60d0 (diff) |
Add method chaining support ot CI_DB_query_builder::reset_query()
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_query_builder.php | 3 |
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; } // -------------------------------------------------------------------- |