We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa00b3 commit bd436d3Copy full SHA for bd436d3
src/ThriftSQL.php
@@ -34,18 +34,12 @@ abstract public function disconnect();
34
35
/**
36
* Gets a memory efficient iterator that you can use in a foreach loop.
37
- * If there's an error with the query, it will simply stop iterating.
38
*
39
* @param string $queryStr
40
- *
41
* @return \ThriftSQL\Utils\Iterator
42
* @throws \ThriftSQL\Exception
43
*/
44
public function getIterator( $queryStr ) {
45
- try {
46
- return new \ThriftSQL\Utils\Iterator( $this, $queryStr );
47
- } catch ( \Exception $e ) {
48
- throw new \ThriftSQL\Exception( $e->getMessage() );
49
- }
+ return new \ThriftSQL\Utils\Iterator( $this, $queryStr );
50
}
51
0 commit comments