5use Wikimedia\AtEase\AtEase;
39 return pg_num_rows( $this->result );
43 AtEase::suppressWarnings();
44 $row = pg_fetch_object( $this->result );
45 AtEase::restoreWarnings();
50 AtEase::suppressWarnings();
51 $row = pg_fetch_array( $this->result );
52 AtEase::restoreWarnings();
57 pg_result_seek( $this->result, $pos );
61 return pg_free_result( $this->result );
66 $n = pg_num_fields( $this->result );
67 for ( $i = 0; $i < $n; $i++ ) {
68 $names[] = pg_field_name( $this->result, $i );
__construct(DatabasePostgres $db, $handle, $result)
getInternalResult()
Get the underlying result object or array.
doFetchObject()
Get the next row as a stdClass object, or false if iteration has proceeded past the end.
doGetFieldNames()
Get the field names in the result set.
doFetchRow()
Get the next row as an array containing the data duplicated, once with string keys and once with nume...
doNumRows()
Get the number of rows in the result set.
doSeek( $pos)
Modify the current cursor position to the row with the specified offset.
doFree()
Free underlying data.