Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class PostgreSQLQuery extends Query |
||
14 | { |
||
15 | /** |
||
16 | * The internal Postgres handle that points to the result set. |
||
17 | * @var resource |
||
18 | */ |
||
19 | private $handle; |
||
20 | |||
21 | /** |
||
22 | * Hook the result-set given into a Query class, suitable for use by sapphire. |
||
23 | * @param resource $handle the internal Postgres handle that is points to the resultset. |
||
24 | */ |
||
25 | public function __construct($handle) |
||
28 | } |
||
29 | |||
30 | public function __destruct() |
||
34 | } |
||
35 | } |
||
36 | |||
37 | public function getIterator() |
||
41 | } |
||
42 | } |
||
43 | |||
44 | public function numRecords() |
||
49 |