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; }
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; }