src/DatabaseActiveRecord/ActiveRecordModel.php
public function deleteWhere($where, $value)
    {
        $this->checkDb();
        $values = is_array($value) ? $value : [$value];

        $this->db->connect()
                 ->deleteFrom($this->tableName)
                 ->where($where)
                 ->execute($values);
    }
public function deleteWhere($where, $value)
    {
        $this->checkDb();
        $values = is_array($value) ? $value : [$value];

        $this->db->connect()
                 ->deleteFrom($this->tableName)
                 ->where($where)
                 ->execute($values);
    }
Delete row using a custom where-statement and leave value of
`$tableIdColumn` as it is.

The criteria `$where` of can be set up like this:
`id = ?`
`id1 = ? AND id2 = ?`
`id IN (?, ?)`

The `$value` can be a single value or an array of values.

@param string $where to use in where statement.
@param mixed  $value to use in where statement.

@return void