Ejemplo n.º 1
0
 public function delete_where($cond)
 {
     $query = $this->schema->deleteWhereQuery($cond);
     $sth = NekoSchema::execute($this->dbh, $query);
     if ($sth === null) {
         $info = $this->dbh->errorInfo();
         throw new Exception($info[2]);
     }
     return $sth;
 }