src/Neevo/Row.php
public function delete(){
		if($this->frozen)
			throw new NeevoException('Delete disabled - cannot get primary key or table.');

		return Statement::createDelete($this->connection, $this->table)
				->where($this->primary, $this->data[$this->primary])->limit(1)->affectedRows();
	}
public function delete(){
		if($this->frozen)
			throw new NeevoException('Delete disabled - cannot get primary key or table.');

		return Statement::createDelete($this->connection, $this->table)
				->where($this->primary, $this->data[$this->primary])->limit(1)->affectedRows();
	}
public function delete ( ) { if ( $ this -> frozen ) throw new NeevoException ( 'Delete disabled - cannot get primary key or table.' ) ; return Statement :: createDelete ( $ this -> connection , $ this -> table ) -> where ( $ this -> primary , $ this -> data [ $ this -> primary ] ) -> limit ( 1 ) -> affectedRows ( ) ; }
Deletes corresponding database row if available.
@throws NeevoException
@return int Number of affected rows.
Deletes corresponding database row if available .