Pheasant\Database\Mysqli\Table::delete PHP Method

delete() public method

Deletes rows in the table
public delete ( $criteria = NULL )
    public function delete($criteria = NULL)
    {
        $where = !is_null($criteria) ? 'WHERE ' . $criteria->toSql() : NULL;
        return $this->_connection->execute(sprintf('DELETE FROM %s %s', $this->_name->quoted(), $where));
    }