/**
  * Seek
  *
  * @param   int offset
  * @return  bool success
  * @throws  rdbms.SQLException
  */
 public function seek($offset)
 {
     if (!pg_data_seek($this->handle, $offset)) {
         throw new SQLException('Cannot seek to offset ' . $offset);
     }
     return TRUE;
 }
Example #2
0
 function seek($offset)
 {
     return pg_data_seek($this->id, $offset);
 }
Example #3
0
 public function seek($row_number)
 {
     return pg_data_seek($this->res, $row_number);
 }
Example #4
0
 function sql_rowseek($rownum, $query_id = 0)
 {
     if (!$query_id) {
         $query_id = $this->query_result;
     }
     if ($query_id) {
         $result = @pg_data_seek($query_id, $rownum);
         return $result;
     } else {
         return false;
     }
 }