diff options
author | Fayland Lam <[email protected]> | 2013-01-29 09:58:01 +0000 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2013-01-29 09:58:01 +0000 |
commit | 9f9fd4d5666d73e3e143a5428fd32e43abeee8f5 (patch) | |
tree | a27000daeb8c8289e55a82cd784213d5dd85a541 /idiorm.php | |
parent | 5a0bb6a42cc808bf6c6198ae45905c577470704c (diff) |
Reset _run() to enable calling find_many after count
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1503,6 +1503,11 @@ self::_cache_query_result($cache_key, $rows, $this->_connection_name); } + // reset Idiorm after executing the query + $this->_values = array(); + $this->_result_columns = array('*'); + $this->_using_default_result_columns = true; + return $rows; } |