function execute()
 {
     $this->queryId = parent::execute();
     if (is_resource($this->queryId)) {
         return pg_affected_rows($this->queryId);
     }
 }
 function execute()
 {
     $this->queryId = parent::execute();
     return $this->queryId;
 }